-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hmm...I'm pretty sure you need to add -flat_namespace to the LDFLAGS...

SetLDFlags: [whatever you have here] -flat_namespace

On Wednesday, April 24, 2002, at 07:29 AM, Jeremy Higgs wrote:

> Hi everyone!
>
> I'm getting this error while compiling net-snmp 5.0 (will be added when 
> it's
> fixed):
>
> cc -dynamiclib -undefined suppress -o .libs/libnetsnmp.5.0.0.dylib
> snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo snmp_auth.lo asn1.lo
> md5.lo snmp_parse_args.lo system.lo vacm.lo int64.lo read_config.lo
> snmp_debug.lo tools.lo snmp_logging.lo snmpv3.lo lcd_time.lo keytools.lo
> scapi.lo callback.lo default_store.lo snmp_alarm.lo data_list.lo
> oid_array.lo oid_stash.lo mt_support.lo snmp_enum.lo snmp-tc.lo 
> snprintf.lo
> strtol.lo strtoul.lo snmp_transport.lo snmpUDPDomain.lo snmpTCPDomain.lo
> snmpUnixDomain.lo snmpCallbackDomain.lo snmp_secmod.lo snmpusm.lo
> snmp_version.lo cmu_compat.lo ucd_compat.lo  -lc -install_name
> /sw/src/root-net-snmp-5.0-1/sw/lib/libnetsnmp.5.dylib 
> -compatibility_version
> 6 -current_version 6.0
> ld: -undefined error must be used when -twolevel_namespace is in effect
> /usr/bin/libtool: internal link edit command failed
> make[1]: *** [libnetsnmp.la] Error 1
>
> This didn't happen before I enabled shared libraries, and it causes one 
> of
> the targets to fail...
>
> Anyone know how to fix it?

- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070
========================================================
Security Is A Series Of Well-Defined Steps...

chmod -R 0 / ; and smile :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8xqAW+/mCMqKrwHARAsVWAJ4y36+IgYoQp0MQ2bWHtwOa/ivYawCgiUtD
Kyijm9wYs+y7NauBhTYiTqw=
=R2T7
-----END PGP SIGNATURE-----


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to