Hi,

I recently moved my OS around a lot and was doing a emerge -e world to
make sure everything was going to be sane.  I ran into this problem
though.  This is the error I get when it fails:

> i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
> -Wmissing-prototypes -Wstrict-prototypes -DNCH=1  -DDISABLE_NLS
> -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
> -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
> fdisk.c -o fdisk.o
> i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
> -Wmissing-prototypes -Wstrict-prototypes -DNCH=1  -DDISABLE_NLS
> -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
> -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
> llseek.c -o llseek.o
> In file included from fdisk.c:25:
> fdisk.h:85: warning: type qualifiers ignored on function return type
> fdisk.c: In function 'get_partition_table_geometry':
> fdisk.c:810: warning: pointer targets in initialization differ in
> signedness
> fdisk.c: In function 'get_boot':
> fdisk.c:948: warning: pointer targets in passing argument 1 of
> 'valid_part_table_flag' differ in signedness
> fdisk.c:958: warning: pointer targets in passing argument 1 of
> 'valid_part_table_flag' differ in signedness
> fdisk.c:1002: warning: pointer targets in passing argument 1 of
> 'valid_part_table_flag' differ in signedness
> fdisk.c: At top level:
> fdisk.c:1256: warning: type qualifiers ignored on function return type
> i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
> -Wmissing-prototypes -Wstrict-prototypes -DNCH=1  -DDISABLE_NLS
> -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
> -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
> -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
> disksize.c -o disksize.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[1]: *** [llseek.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory
> `/var/tmp/portage/util-linux-2.12r-r4/work/util-linux-2.12r/fdisk'
> make: *** [all] Error 1
>
> !!! ERROR: sys-apps/util-linux-2.12r-r4 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_compile
>   ebuild.sh, line 937:   Called src_compile
>   util-linux-2.12r-r4.ebuild, line 141:   Called die
>
> !!! emake failed
> !!! If you need support, post the topmost build error, and the call
> stack if relevant.
>
> ERROR: Emerge failed return code 1!
> [EMAIL PROTECTED] / #  

I went back a little ways to make sure I got it all but this may be the key:

> llseek.c:93: error: expected '{' at end of input

Anybody know how to fix this?

Thanks for the help.

Dale

:-)  :-)  :-)


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list

Reply via email to