Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27270 - libnids-1.16-r1fails to compile
Summary: libnids-1.16-r1fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 01:06 UTC by Andrei Ivanov
Modified: 2003-08-25 04:20 UTC (History)
2 users (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 Andrei Ivanov 2003-08-25 01:06:28 UTC
make[1]: Entering directory `/var/tmp/portage/libnids-1.16-r1/work/libnids-
1.16/samples'
gcc -c -march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -
ffast-math
-fforce-addr -falign-functions=4 -mfpmath=sse -D_BSD_SOURCE -D_BSD_SOURCE -
D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I. -I../src -
I/usr/include
-I/usr/include overflows.c
gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -
ffast-math
-fforce-addr -falign-functions=4 -mfpmath=sse -D_BSD_SOURCE -D_BSD_SOURCE -
D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -o overflows overflows.o
-L/usr/lib -L/usr/lib -L../src -lnids-1.0 -lpcap -lnet-1.0 -lnsl 
/usr/lib/libnids-1.0.a(killtcp.o)(.text+0x1f): In function `raw_init':
: undefined reference to `libnet_init'
/usr/lib/libnids-1.0.a(killtcp.o)(.text+0x158): In function `nids_killtcp':
: undefined reference to `libnet_write'
/usr/lib/libnids-1.0.a(killtcp.o)(.text+0x259): In function `nids_killtcp':
: undefined reference to `libnet_write'
collect2: ld returned 1 exit status
make[1]: *** [overflows] Error 1
make[1]: Leaving directory `/var/tmp/portage/libnids-1.16-r1/work/libnids-
1.16/samples'
make: *** [all] Error 2

!!! ERROR: net-libs/libnids-1.16-r1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)

qpkg -I -v libnet
net-libs/libnet-1.0.2a-r3 *

-rwxr-xr-x    1 root     root        42160 Aug 25 01:44 /usr/lib/libnet-1.0.a
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-25 01:34:21 UTC
You are showing a failed compile for libnids, not for libnet.
Could you please try unmerging your old libnids and emerging it then? Seems the linker gets your already installed version /usr/lib/libnids-1.0.a instead of the right one.
Comment 2 Andrei Ivanov 2003-08-25 02:01:53 UTC
I'm showing a failed compile of libnids because that's what the bug is about.

Anyway, I unemerge all versions of libnet and libnids and reemerged and it worked.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-25 02:16:47 UTC
Sure it was about libnids, but you wrote "libnet fails to compile" in the summary line :-)
Comment 4 Andrei Ivanov 2003-08-25 02:23:10 UTC
"libnids-1.16-r1fails to compile" -> summary line

I don't get it... 
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-08-25 03:03:37 UTC
unmerge und remerged works
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-25 04:20:55 UTC
shadow: http://bugs.gentoo.org/show_activity.cgi?id=27270
I changed the summary.