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

Robert Urban wrote:
> 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?

I'll answer my own question.  The patch, available at

http://lfs.vlsm.org/lfs/conglomeration/util-linux/util-linux-2.12r-lseek-1.patch

solves the problem.

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

iD8DBQFGWbx333x7lJjLFm4RAttKAJ4sztTdXt8txbao92wnHQTO2lI+HACeJ/r3
BKdRNjUZZpV1hgdSTeLBWwQ=
=xF9Z
-----END PGP SIGNATURE-----
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to