Re: Compilation error in Net-SNMP for arm linux
"विशाल नंदनवार " <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using snapgear-3.0.5 and arm-linux-tools for compiling Net-SNMP. I have done following env settings export PATH=$PATH:/usr/local/arm-linux/bin export CC="/usr/src/snapgear/tools/ucfront/ucfront arm-linux-gcc" export CXX="/usr/src/snapgear/tools/ucfront/ucfront arm-linux-g++" export CFLAGS="-O2 -mcpu=xscale -mtune=xscale -mbig-endian" export LDFLAGS=-mbig-endian export CXXFLAGS=$CFLAGS I have configured Net-SNMP-5.4.1 using following commnad, ./configure --target=arm-linux --with-cc=arm-linux-gcc --with-cflags=-mbig-endian --with-endianness=big --host=arm-linux I am getting following error message, agent_registry.c: In function `netsnmp_register_mib': agent_registry.c:73: sorry, unimplemented: inlining failed in call to 'invalidate_lookup_cache': function body not available agent_registry.c:682: sorry, unimplemented: called from here agent_registry.c:73: sorry, unimplemented: inlining failed in call to 'invalidate_lookup_cache': function body not available agent_registry.c:698: sorry, unimplemented: called from here agent_registry.c:73: sorry, unimplemented: inlining failed in call to 'invalidate_lookup_cache': function body not available agent_registry.c:705: sorry, unimplemented: called from here agent_registry.c:73: sorry, unimplemented: inlining failed in call to 'invalidate_lookup_cache': function body not available agent_registry.c:736: sorry, unimplemented: called from here make[1]: *** [agent_registry.lo] Error 1 Can anyone please help me why this is happening? or is there any env variables which I need to set? I have untar snapgear in "/usr/src/", configured it using command "make config". I am not sure about complete configuration options. Snapgear has given following error message, drivers/built-in.o: In function `init_hwif_amd74xx': drivers/ide/pci/amd74xx.c:421: undefined reference to `pci_get_legacy_ide_irq' make[1]: *** [.tmp_vmlinux1] Error 1 make[1]: Leaving directory `/usr/src/snapgear/linux-2.6.x' Thanks in advance. Vishal N On Feb 12, 2008 10:22 PM, Thomas Anders <[email protected]> wrote: > > Yes I tried with that, problem exists. > > Can you please let us know the exact configure options and the exact error > message when trying to build net-snmp 5.4.1? > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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