public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13682] New: Compile error with cstdio: fgetpos not declared on AIX
@ 2004-01-14 15:54 richard_wheeler at cinfin dot com
  2004-01-14 15:56 ` [Bug c++/13682] " richard_wheeler at cinfin dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: richard_wheeler at cinfin dot com @ 2004-01-14 15:54 UTC (permalink / raw)
  To: gcc-bugs

Attempting to compile C++ module from Berkeley-db 4.2.52 that gets the 
following error.  I do not understand why it is having a finding the standard 
library functions.  I am hoping someone here could point me the right way.

Thanks

Output is below:

g++ -v -save-temps -c -I. -I../dist/.. -D_THREAD_SAFE -
O2 ../dist/../cxx/cxx_db.cpp  -DPIC -o .libs/cxx_db.o

Reading specs from /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-
aix5.2.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/cmDevTest/local --enable-
shared --enable-thread
s=aix
Thread model: aix
gcc version 3.3.2
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/cc1plus -
E -D__GNUG__=3 -qu
iet -v -I. -I../dist/.. -iprefix /cmDevTest/Dev/local/bin/../lib/gcc-
lib/powerpc-ibm-aix5.2.0.0/3
.3.2/ -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -
D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE
_EXTENDED=1 -D_LARGE_FILE_API -D_ALL_SOURCE -D_THREAD_SAFE -
DPIC ../dist/../cxx/cxx_db.cpp -O2 cx
x_db.ii
ignoring nonexistent directory "/cmDevTest/Dev/local/bin/../powerpc-ibm-
aix5.2.0.0/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/cmDevTest/local/powerpc-ibm-aix5.2.0.0/include"
ignoring duplicate directory "/cmDevTest/local/include/c++/3.3.2"
ignoring duplicate directory "/cmDevTest/local/include/c++/3.3.2/powerpc-ibm-
aix5.2.0.0"
ignoring duplicate directory "/cmDevTest/local/include/c++/3.3.2/backward"
ignoring duplicate directory "/cmDevTest/local/lib/gcc-lib/powerpc-ibm-
aix5.2.0.0/3.3.2/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 /cmDevTest/Dev/local/bin/../include/c++/3.3.2
 /cmDevTest/Dev/local/bin/../include/c++/3.3.2/powerpc-ibm-aix5.2.0.0
 /cmDevTest/Dev/local/bin/../include/c++/3.3.2/backward
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include
 /cmDevTest/local/include
 /usr/include
End of search list.
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/cc1plus -
fpreprocessed cxx_
db.ii -quiet -dumpbase cxx_db.cpp -auxbase-strip .libs/cxx_db.o -O2 -version -o 
cxx_db.s
GNU C++ version 3.3.2 (powerpc-ibm-aix5.2.0.0)
        compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=32 --param ggc-min-heapsize=4096
In file included from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/powerpc-ibm-
aix5.2.0.0/bits/c
++io.h:35,
                 
from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/bits/fpos.h:44,
                 from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/iosfwd:49,
                 from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/ios:44,
                 from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/ostream:45,
                 from /cmDevTest/Dev/local/bin/../include/c++/3.3.2/iostream:45,
                 from db_cxx.h:56,
                 from ../cxx/cxx_db.cpp:17:
/cmDevTest/Dev/local/bin/../include/c++/3.3.2/cstdio:108: error: `fgetpos' not
   declared
/cmDevTest/Dev/local/bin/../include/c++/3.3.2/cstdio:110: error: `fopen' not
   declared
/cmDevTest/Dev/local/bin/../include/c++/3.3.2/cstdio:115: error: `freopen' not
   declared
/cmDevTest/Dev/local/bin/../include/c++/3.3.2/cstdio:118: error: `fsetpos' not
   declared

-- 
           Summary: Compile error with cstdio: fgetpos not declared on AIX
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: richard_wheeler at cinfin dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 3.3.2
  GCC host triplet: AIX 5.2
GCC target triplet: AIX 5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13682


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-17 20:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-13682-7634@http.gcc.gnu.org/bugzilla/>
2008-06-03 18:20 ` [Bug c++/13682] Compile error with cstdio: fgetpos not declared on AIX patrick133t at yahoo dot com
2009-08-20  7:31 ` oliver at FreeBSD dot org
2010-05-17 20:06 ` pedzsan at gmail dot com
2004-01-14 15:54 [Bug c++/13682] New: " richard_wheeler at cinfin dot com
2004-01-14 15:56 ` [Bug c++/13682] " richard_wheeler at cinfin dot com
2004-01-14 17:43 ` pinskia at gcc dot gnu dot org
2004-01-14 19:22 ` richard_wheeler at cinfin dot com
2004-01-14 19:26 ` richard_wheeler at cinfin dot com
2004-01-14 19:30 ` pinskia at gcc dot gnu dot org
2004-01-14 19:41 ` richard_wheeler at cinfin dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).