the configure fails with the following error: configure: creating libtool configure: error: invalid tag name: CC
With regards, Raghavendra On 9/1/08, Raghavendra Prasad <[EMAIL PROTECTED]> wrote: > I am cross-compiling from x86 to ppc with the following configure options > > '--with-ldflags=-L/home/gov/myCVS/cdspr/sw/app/snmp/../../common > -L/home/gov/myCVS/cdspr/sw/app/snmp/../../isl/elib > -L/home/gov/myCVS/cdspr/sw/app/snmp/../../isl/tos/linux/ppc -lTOS > -lelib -lcommon' '--with-linkcc=ppc_4xxFP-g++' '--with-cflags= -g > -I/home/gov/myCVS/cdspr/sw/app/snmp/../.. > -I/home/gov/myCVS/cdspr/sw/app/snmp/../../common > -I/home/gov/myCVS/cdspr/sw/app/snmp/../../isl > -I/home/gov/myCVS/cdspr/sw/app/snmp/../../isl/elib > -I/home/gov/myCVS/cdspr/sw/app/snmp/../../isl/tos > -I/home/gov/myCVS/cdspr/sw/app/snmp/net-snmp-5.4.1/agent/mibgroup/xmRadio_modules' > '--enable-debugging' '--without-root-access' '--enable-mini-agent' > '--disable-embedded-perl' '--disable-perl-cc-checks' > '--without-perl-modules' '--with-cc=ppc_4xxFP-gcc' '--target=ppc' > '--with-endianness=big' '--build=x86' '--host=ppc' '--with-pic' > > the configure step runs fine but when I try to compile with make it > throws me the following libtool error > > libtool: link: unable to infer tagged configuration > libtool: link: specify a tag with `--tag' > make[1]: *** [libnetsnmp.la] Error 1 > make[1]: Leaving directory > `/home/gov/myCVS/cdspr/sw/app/snmp/net-snmp-5.4.1/snmplib' > > I solved this problem by tweaking Make files in all sub-directories by > adding the "--tar=CC" as below. > > LIBTOOL = $(SHELL) $(top_builddir)/libtool --tar=CC then make > works fine. > > > Interestingly I found --with-tags options in ./configure step. The > ./configure does not work with --with-tags=CC , it complains saying it > CC is not found. then I tried with --with-flags=ppc_4xxFP-gcc, it > complains about that too. > > Please suggest me the proper argument for so that I do not have to > tweak the makefiles. > > With regards, > > Raghavendra > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users