Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213245 - Build of net-analyzer/nagios-core-2.10-r1 (and -r2) fails with several undefined references
Summary: Build of net-analyzer/nagios-core-2.10-r1 (and -r2) fails with several undefi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 11:19 UTC by Vladimir G. Ivanovic
Modified: 2008-03-13 11:24 UTC (History)
0 users

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


Attachments
Output of `emerge --info' (emerge.info,4.85 KB, text/plain)
2008-03-13 11:24 UTC, Vladimir G. Ivanovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir G. Ivanovic 2008-03-13 11:19:32 UTC
x86_64-pc-linux-gnu-gcc -march=athlon64 -msse3 -pipe -Wall -O2  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o   perlxsi.o -Wl,-export-dynamic   -rdynamic  -L/usr/local/lib64 /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -lm  -lpthread -lltdl 
nagios.c: In function ‘main’:
nagios.c:229: warning: unused variable ‘x’
checks.o: In function `run_service_check':
checks.c:(.text+0x26f6): undefined reference to `PL_thr_key'
utils.o: In function `deinit_embedded_perl':
utils.c:(.text+0x1d97): undefined reference to `PL_op_mutex'
utils.c:(.text+0x1dbf): undefined reference to `Perl_croak_nocontext'
utils.o: In function `my_system':
utils.c:(.text+0x7049): undefined reference to `PL_thr_key'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nagios-core-2.10-r1/work/nagios-2.10/base'
make: *** [nagios] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-13 11:24:03 UTC
`emerge -pv perl libperl` output please.
Comment 2 Vladimir G. Ivanovic 2008-03-13 11:24:45 UTC
Created attachment 145989 [details]
Output of `emerge --info'

Note: I have a large number of ~amd64 packages installed and lines like

  <=net-analyzer/nagios-core-2.10-r2 ~amd64

in /etc/portage/package.keywords. (I want to move (slowly) to a stable amd64 system from a testing amd64 system without having to downgrade thousands of packages.)