problems compiling util-linux-2.12r

Robert Urban urban at unix-beratung.de
Sun May 27 02:09:43 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Folks,

i'm using a buildroot I retrieved a week or two ago, and am getting the
following error when compiling llseek.c:

/big/home/urban/Robix/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-gcc
- -c -Os -pipe  -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes
- -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\"
- -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
- -DLOCALEDIR=\"/usr/share/locale\" -Os -pipe llseek.c -o llseek.o
llseek.c:34: error: expected declaration specifiers or '...' before '_llseek'
llseek.c:34: error: expected declaration specifiers or '...' before 'fd'
llseek.c:34: error: expected declaration specifiers or '...' before
'offset_high'
llseek.c:35: error: expected declaration specifiers or '...' before 'offset_low'
llseek.c:35: error: expected declaration specifiers or '...' before 'result'
llseek.c:36: error: expected declaration specifiers or '...' before 'origin'
llseek.c:50: warning: return type defaults to 'int'
llseek.c: In function '_syscall5':
llseek.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
llseek.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:36: error: parameter name omitted
llseek.c:93: error: expected '{' at end of input
make[2]: *** [llseek.o] Error 1

build-host is FC6.

any ideas?

cheers,

Rob Urban
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGWOhn33x7lJjLFm4RAuH9AKCF6YdQaC7ymHsA8Nqi6H8Wz04UOwCcCbcq
5U2NmoxRoCr7AYfb34Il2qE=
=5WQP
-----END PGP SIGNATURE-----



More information about the uClibc mailing list