zaanpenguin Apprentice
Joined: 01 Jul 2003 Posts: 203
|
Posted: Sat Aug 09, 2003 7:22 pm Post subject: Samba emerge compile failure |
|
|
gcc -march=pentium4 -O3 -fomit-frame-pointer -pipe -fexpensive-optimizations -ffast-math -funroll-loops -Wall -I../../source -I../../source/include -I../../source/ubiqx -I../../source/smbwrapper -DPIC -fPIC -c block/block.c -fPIC -DPIC -o block/.libs/block.lo
block/block.c: In function `block_opendir':
block/block.c:418: `__ERROR__XX__NEVER_USE_STRCAT___' undeclared (first use in this function)
block/block.c:418: (Each undeclared identifier is reported only once
block/block.c:418: for each function it appears in.)
block/block.c:418: parse error before ';' token
block/block.c:418: `__r0' undeclared (first use in this function)
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:418: `__r1' undeclared (first use in this function)
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:418: `__r2' undeclared (first use in this function)
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:418: parse error before ')' token
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:418: warning: left-hand operand of comma expression has no effect
block/block.c:412: warning: unused variable `stat_buf'
block/block.c:418: warning: no return statement in function returning non-void
block/block.c: At top level:
block/block.c:418: parse error before ')' token
block/block.c:428: warning: type defaults to `int' in declaration of `__errno_location'
block/block.c:428: function `__errno_location' is initialized like a variable
block/block.c:428: warning: data definition has no type or storage class
block/block.c:429: parse error before "return"
make: *** [block/block.lo] Error 1
rm skel.lo audit.lo
!!! ERROR: net-fs/samba-2.2.8a failed.
!!! Function src_compile, Line 127, Exitcode 2
!!! VFS modules compile problem
---
I can't emerge Samba because it keeps failing with this error. I've tried different CFLAGS and even the simplest ones (-O2 -pipe -march=pentium3) all to no avail. Why am I getting this error and how do I fix this?
** UPDATE:
I've tried re-emerging all dependencies, upgrading the kernel-headers as was suggested by a post on the web somewhere, but still no-go. *ANY* suggestion is welcome at this point, I absolutely need Samba to work as this is a fileserver...
TIA,
Arnim |
|