Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144045 - syslog-ng fails to compile on hardened/amd64
Summary: syslog-ng fails to compile on hardened/amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 14:40 UTC by Hanno Böck
Modified: 2006-08-15 15:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2006-08-15 14:40:21 UTC
ng-1.6.9/src/'`utils.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src -I.     -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE -c `test -f 'syslog-names.c' || echo '/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src/'`syslog-names.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src -I.     -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE -c `test -f 'macros.c' || echo '/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src/'`macros.c
x86_64-pc-linux-gnu-gcc  -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE   -o syslog-ng  main.o sources.o center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o  -lnsl -lresolv  /usr/lib64/libol.a -lnsl -Wl,-Bstatic      -Wl,-Bdynamic
cfg-lex.o: In function `yylex':
cfg-lex.c:(.text+0x14f3): undefined reference to `yywrap'
collect2: ld gab 1 als Ende-Status zur
Comment 1 Hanno Böck gentoo-dev 2006-08-15 14:40:21 UTC
ng-1.6.9/src/'`utils.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src -I.     -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE -c `test -f 'syslog-names.c' || echo '/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src/'`syslog-names.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src -I.     -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE -c `test -f 'macros.c' || echo '/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src/'`macros.c
x86_64-pc-linux-gnu-gcc  -O2 -march=athlon64 -fstack-protector -pipe -Wall -I/usr/include/libol -D_GNU_SOURCE   -o syslog-ng  main.o sources.o center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o  -lnsl -lresolv  /usr/lib64/libol.a -lnsl -Wl,-Bstatic      -Wl,-Bdynamic
cfg-lex.o: In function `yylex':
cfg-lex.c:(.text+0x14f3): undefined reference to `yywrap'
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [syslog-ng] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.9/work/syslog-ng-1.6.9/src'
make: *** [all-recursive] Fehler 1




Portage 2.1-r2 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.6-grsec x86_64)
=================================================================
System uname: 2.6.17.6-grsec x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fstack-protector -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 acl apache2 bash-completion bzip2 crypt exif gif hardened idn imagemagick imap ipv6 jpeg leim mailwrapper mysql ncurses nls nptl nptlonly pam pcre perl png python qdbm readline ruby spell sqlite ssl tiff truetype unicode userlocales vhosts xml zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael Crawford (ali3nx) 2006-08-15 14:42:12 UTC
simple fix. your flex libs are either missing or broken

emerge flex
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 14:43:53 UTC
(Re)emerge flex, see Bug 90456.
Comment 4 Hanno Böck gentoo-dev 2006-08-15 15:04:15 UTC
Thanks