Bug 125733 - ulogd 1.23 fails (gcc 4.1.0)
Bug#: 125733 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: hetfield666@gmail.com
Component: GCC Porting
URL: 
Summary: ulogd 1.23 fails (gcc 4.1.0)
Keywords:  
Status Whiteboard: 
Opened: 2006-03-10 10:02 0000
Description:   Opened: 2006-03-10 10:02 0000
gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
-ffast-math -D_FILE_OFFSET_BITS=64  -Wall
-DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" -I/lib/modules/`uname -r`/build/include
-I.. -I../libipulog/include -I../include -fPIC -o ulogd_LOCAL_sh.o -c
ulogd_LOCAL.c
ld -shared -o ulogd_LOCAL.so ulogd_LOCAL_sh.o -lc
gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
-ffast-math -D_FILE_OFFSET_BITS=64  -Wall
-DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" -I/lib/modules/`uname -r`/build/include
-I.. -I../libipulog/include -I../include -fPIC -o printpkt.o -c printpkt.c
gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse
-ffast-math -D_FILE_OFFSET_BITS=64  -Wall
-DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" -I/lib/modules/`uname -r`/build/include
-I.. -I../libipulog/include -I../include -fPIC -o ulogd_SYSLOG_sh.o -c
ulogd_SYSLOG.c
ulogd_SYSLOG.c:139: error: expected ‘=’ before ‘&’
token
make[1]: *** [ulogd_SYSLOG_sh.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ulogd-1.23/work/ulogd-1.23/extensions'
make: *** [recurse] Error 1

!!! ERROR: app-admin/ulogd-1.23 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-03-14 18:00:46 0000 -------
Patched in tree, thanks for reporting.

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-03-15 05:53:46 0000 -------
*** Bug 126277 has been marked as a duplicate of this bug. ***