[uClibc]uClibc compile errors on powerpc
rwa at peppercon.com
rwa at peppercon.com
Mon Feb 24 06:48:47 UTC 2003
Hi,
With uClibc-0.9.18 (and even the snapshot rom 23.02.2003) I get the
following errors. Compiler is a "gcc version 3.2.3 20030217
(prerelease)". Large filesystem support is disabled.
powerpc-pp-linux-gnu-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -Os -fno-builtin -nostdinc -D_LIBC
-I../../../../include
-I. -I/usr/lib/gcc-lib/powerpc-pp-linux-gnu/3.2.3/include -DNDEBUG
-msoft-float -fPIC -c pread_write.c -o pread_write.o
pread_write.c:45: parse error before "off64_t"
--> This seems to be due to disabled large file support. But I do not
want enabling them just to get pread/pwrite working ...
pread_write.c:45: warning: function declaration isn't a prototype
pread_write.c:45:60: warning: pasting "__uClibc_syscall" and "@" does not give a
valid preprocessing token
--> This warning I get on other files too.
pread_write.c: In function `__libc_pread':
pread_write.c:49: `off64_t' undeclared (first use in this function)
pread_write.c:49: (Each undeclared identifier is reported only once
pread_write.c:49: for each function it appears in.)
pread_write.c:49: parse error before "offset"
pread_write.c: At top level:
pread_write.c:66: parse error before "off64_t"
pread_write.c:66: warning: function declaration isn't a prototype
pread_write.c:66:66: warning: pasting "__uClibc_syscall" and "@" does not give a
valid preprocessing token
pread_write.c: In function `__libc_pwrite':
pread_write.c:70: `off64_t' undeclared (first use in this function)
pread_write.c:70: parse error before "offset"
pread_write.c: At top level:
pread_write.c:45: warning: `__syscall_pread' declared `static' but never defined
pread_write.c:66: warning: `__syscall_pwrite' declared `static' but never define
--> These warnings may be due to the above errors
- ron
More information about the uClibc
mailing list