Linker Errors...
Madan Mohan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Broadcom Corporation |
| Message-ID | <[email protected]> |
Hello all, I am compiling Net-SNMP-5.4 on combined with another code base(typical switching application). I am getting following linker errors. I am not sure if it is to do something with "PERL" options to be used for "configure" script. Please suggest me if you get some idea with these errors. Errors are pasted below. Thanks in advance, Madan /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0x35): In function `xs_init': /root/mmohan-LiNe-LINE_1s128p-LinuxHost-L24SM- H_rel_l/src/mgmt/snmp/os/net-snmp-5.4/agent/snmp_perl.c:20: undefined reference to `boot_DynaLoader' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0x44):/root/mmohan-LiNe- LINE_1s128p-LinuxHost-L24SM-H_rel_l/src/mgmt/snmp/os/net- snmp-5.4/agent/snmp_perl.c:20: undefined reference to `Perl_newXS' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0xae): In function `maybe_source_perl_startup': /root/mmohan-LiNe-LINE_1s128p-LinuxHost-L24SM- H_rel_l/src/mgmt/snmp/os/net-snmp-5.4/agent/snmp_perl.c:45: undefined reference to `perl_alloc' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0xc0):/root/mmohan-LiNe- LINE_1s128p-LinuxHost-L24SM-H_rel_l/src/mgmt/snmp/os/net- snmp-5.4/agent/snmp_perl.c:49: undefined reference to `perl_construct' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0xe0):/root/mmohan-LiNe- LINE_1s128p-LinuxHost-L24SM-H_rel_l/src/mgmt/snmp/os/net- snmp-5.4/agent/snmp_perl.c:50: undefined reference to `perl_parse' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0xf5):/root/mmohan-LiNe- LINE_1s128p-LinuxHost-L24SM-H_rel_l/src/mgmt/snmp/os/net- snmp-5.4/agent/snmp_perl.c:53: undefined reference to `perl_run' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0x28e): In function `do_something_perlish': /root/mmohan-LiNe-LINE_1s128p-LinuxHost-L24SM- H_rel_l/src/mgmt/snmp/os/net-snmp-5.4/agent/snmp_perl.c:82: undefined reference to `Perl_eval_pv' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0x413): In function `shutdown_perl': /root/mmohan-LiNe-LINE_1s128p-LinuxHost-L24SM- H_rel_l/src/mgmt/snmp/os/net-snmp-5.4/agent/snmp_perl.c:145: undefined reference to `perl_destruct' /tmp/libsw.a.iw1319(snmp_perl.o)(.text+0x41f):/root/mmohan-LiNe- LINE_1s128p-LinuxHost-L24SM-H_rel_l/src/mgmt/snmp/os/net- snmp-5.4/agent/snmp_perl.c:146: undefined reference to `perl_free' /tmp/libsw.a.iw1319(hr_swinst.o)(.text+0xd0): In function `init_hr_swinst': mibgroup/host/hr_swinst.c:209: undefined reference to `rpmReadConfigFiles' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0xde):mibgroup/host/hr_swinst.c:210: undefined reference to `rpmGetPath' /tmp/libsw.a.iw1319(hr_swinst.o)(.text+0x35f): In function `Save_HR_SW_info': mibgroup/host/hr_swinst.c:630: undefined reference to `rpmdbInitIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x369):mibgroup/host/hr_swinst.c:632: undefined reference to `rpmdbNextIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x386):mibgroup/host/hr_swinst.c:634: undefined reference to `rpmdbFreeIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text+0x472): In function `Init_HR_SWInst': mibgroup/host/hr_swinst.c:563: undefined reference to `rpmdbOpen' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x4c7):mibgroup/host/hr_swinst.c:524: undefined reference to `rpmdbInitIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x4f6):mibgroup/host/hr_swinst.c:540: undefined reference to `rpmdbNextIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x506):mibgroup/host/hr_swinst.c:526: undefined reference to `rpmdbGetIteratorOffset' /tmp/libsw.a.iw1319(hr_swinst.o)(.text +0x54f):mibgroup/host/hr_swinst.c:546: undefined reference to `rpmdbFreeIterator' /tmp/libsw.a.iw1319(hr_swinst.o)(.text+0x571): In function `End_HR_SWInst': mibgroup/host/hr_swinst.c:685: undefined reference to `rpmdbClose' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x4f0): In function `dlmod_load_module': mibgroup/ucd-snmp/dlmod.c:169: undefined reference to `dlopen' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x585):mibgroup/ucd-snmp/dlmod.c:184: undefined reference to `dlsym' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x642):mibgroup/ucd-snmp/dlmod.c:174: undefined reference to `dlerror' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x6f4):mibgroup/ucd-snmp/dlmod.c:154: undefined reference to `dlopen' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x70a):mibgroup/ucd-snmp/dlmod.c:159: undefined reference to `dlerror' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x73e):mibgroup/ucd-snmp/dlmod.c:186: undefined reference to `dlclose' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x78e): In function `dlmod_unload_module': mibgroup/ucd-snmp/dlmod.c:208: undefined reference to `dlsym' /tmp/libsw.a.iw1319(dlmod.o)(.text+0x7a9):mibgroup/ucd-snmp/dlmod.c:215: undefined reference to `dlclose' ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users