problems compiling util-linux-2.12r [SOLVED]
Mike Frysinger
vapier at gentoo.org
Thu May 31 01:31:28 PDT 2007
On Sunday 27 May 2007, Robert Urban wrote:
> 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-ucl
> >ibc-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.
i'll elaborate: latest util-linux (2.12r) release relies on _syscall#() macros
which uClibc no longer provides
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/uclibc/attachments/20070531/f9995730/attachment.pgp
More information about the uClibc
mailing list