Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58253 - libnids-1.18 builds but ld fails at end
Summary: libnids-1.18 builds but ld fails at end
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High minor (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 00:13 UTC by Ryan Ramsey
Modified: 2004-07-25 11:28 UTC (History)
0 users

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 Ryan Ramsey 2004-07-25 00:13:30 UTC
net-libs/libnids-1.18 builds on OS X 10.3.4 but does not install because of ld/symbol problem. Debug as follows:

gcc -shared -Wl,-soname,libnids.so.1.18 -o libnids.so.1.18 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o  -lnet -L/usr/lib -lpcap
gcc: unrecognized option `-shared'
ld: unknown flag: -soname
make[1]: *** [libnids.so.1.18] Error 1
make: *** [shared] Error 2

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

#### END DEBUG ####

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.51_pre13 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power Macintosh powerpc)
===============================================================
==
System uname: 7.4.0 Power Macintosh powerpc
cat: /etc/gentoo-release: No such file or directory
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.57
Automake: sys-devel/automake-1.6.3
Binutils: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos X berkdb ldap mysql perl python ruby"
Comment 1 solar (RETIRED) gentoo-dev 2004-07-25 09:26:51 UTC
gcc -shared -Wl,-soname,libnids.so.1.18 -o libnids.so.1.18 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lnsl  -lnet -L/usr/lib -lpcap

Fine here on a real nix system.
Comment 2 solar (RETIRED) gentoo-dev 2004-07-25 11:25:57 UTC
I should of closed this one as WONTFIX
Comment 3 solar (RETIRED) gentoo-dev 2004-07-25 11:28:13 UTC
Resolution changed to WONTFIX. 
I'm not adding hacks for a proprietary system which lacks proper toolchain support. 
Please format and install a linux-ppc system.