Goldschrafe, Jeff wrote: > Hey there, > > I'm trying to build Fedora DS 1.1.0 on my buildsystem, which is mock 0.8.19 > on a rather minimal Fedora 8 x86_64 system. Regardless of the distro I try > to build for in mock (I've tried CentOS 5, Fedora 8 and Fedora Core 6), I > hit the following set of build errors: > Can you post your exact mock command line? > ---SNIP-- > > /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -o ldclt-bin > ldap/servers/slapd/tools/ldclt_bin-ldaptool-sasl.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-data.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-ldapfct.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-ldclt.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-ldcltU.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-parser.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-port.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-scalab01.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-threadMain.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-utils.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-version.o > ldap/servers/slapd/tools/ldclt/ldclt_bin-workarounds.o -lplc4 -lplds4 > -lnspr4 -lssl3 -lnss3 -lsoftokn3 -lssldap60 -lprldap60 -lldap60 -lldif60 > -lsasl2 > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:64: > undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:62: > undefined reference to `snmp_log' > ldap/servers/snmp/ldap_agent_bin-main.o: In function `main': > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:117: > undefined reference to `netsnmp_ds_set_boolean' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:120: > undefined reference to `netsnmp_register_loghandler' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:158: > undefined reference to `snmp_enable_filelog' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:164: > undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:167: > undefined reference to `netsnmp_ds_set_boolean' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:170: > undefined reference to `netsnmp_ds_set_string' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:174: > undefined reference to `netsnmp_daemonize' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:189: > undefined reference to `init_agent' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:191: > undefined reference to `init_snmp' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:213: > undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:217: > undefined reference to `agent_check_and_process' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:221: > undefined reference to `snmp_shutdown' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:222: > undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:202: > undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/main.c:206: > undefined reference to `snmp_log' > ldap/servers/snmp/ldap_agent_bin-ldap-agent.o: In function > `send_DirectoryServerStart_trap': > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:72 > 2: undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:73 > 1: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:73 > 6: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:74 > 1: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:74 > 6: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:75 > 4: undefined reference to `send_v2trap' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:75 > 5: undefined reference to `snmp_free_varbind' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:72 > 6: undefined reference to `snmp_log' > ldap/servers/snmp/ldap_agent_bin-ldap-agent.o: In function > `send_DirectoryServerDown_trap': > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:65 > 7: undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:66 > 6: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:67 > 1: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:67 > 6: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:68 > 1: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:68 > 7: undefined reference to `snmp_varlist_add_variable' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:69 > 5: undefined reference to `send_v2trap' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:69 > 6: undefined reference to `snmp_free_varbind' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:66 > 1: undefined reference to `snmp_log' > ldap/servers/snmp/ldap_agent_bin-ldap-agent.o: In function > `dsEntityTable_get_value': > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:62 > 8: undefined reference to `snmp_log' > /builddir/build/BUILD/fedora-ds-base-1.1.0/ldap/servers/snmp/ldap-agent.c:62 > 2: undefined reference to `snmp_set_var_typed_value' > > ---SNIP--- > > ...and then about another page of the same stuff, which I've omitted for > brevity. I noticed that the command doesn't seem to include -lsnmp, which I > imagine it should be including. > Are you using make -j or some other parallel make? Because the compiler/linker errors you are getting are not from the compile/link command above, which is for ldclt. > Is mock an unsupported build environment for FDS? I've used mock to build FDS for f6, f7, f8. > If not, any idea how to > get this building? > > Thanks a lot! > > Jeff Goldschrafe <goldschr at cshl.edu> > Systems Engineer > Cold Spring Harbor Laboratory > 1 Bungtown Road > Cold Spring Harbor, NY 11724 > (516) 367-6966 > http://cshl.edu > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3245 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20080303/30cd2974/attachment.bin