I read the solution from FAQ....we have to delete the configure.cache
file before doing ./configure with a different compiler....But now I
face different problems while doing make. It shows the errors like:
g++ -g -O2 -Dlinux -I. -I.. -I. -I./.. -c snmp_client.c -fPIC -DPIC -o
.libs/snmp_client.lo
In file included from snmp_client.c:35:
/usr/include/string.h:259: parse error before `('
make[1]: *** [snmp_client.lo] Error 1
Can anybody suggest something??
Thanks
Soni
"William R. Buckley" wrote:
>
> Well now, it seems that we have a behavioral problem observed by two
> users of the Net-SNMP toolkit. In my last posting, I mentioned that use
> of ./configure --with-cc=i386-uclibc-gcc did not yield Makefiles with that
> compiler listed within. Indeed, the compiler remains gcc. So, why is
> this. Has anyone suggestions for making the configuration process work,
> as expressed in toolkit documentation? Certainly an alternative is to
> make changes to the Makefile directly but, such approaches seem beyond
> the design goals of the toolkit.
>
> William R. Buckley
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Narinder
> > Soni
> > Sent: Monday, August 16, 2004 7:10 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: --with-cc
> >
> >
> > I am using ucd-snmp-4.2.5 and when I try to do
> > ./configure --with-cc=g++
> > it doesn't seem to work correctly, because all the Makefiles still use
> > gcc (I tried with --with-cc=arm-elf-gcc also but same result).
> > Why configure doesn't create Makefiles with new compiler instead of
> > default gcc?
> >
> > Any solution for this?
> >
> > Soni
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > 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
> >
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> 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
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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