On fre, 2007-06-29 at 06:01 -0700, Need Help wrote:
> I changed the compiler in the "./configure" options to use the "gcc"
> compiler and I get the same errors showing up in the "config.log"
> file.   Below is just a bit of the kinds of errors I am encountering:
> 
> configure:7263: gcc -o conftest -x c   conftest.c conftstm.o >&5

It is good that you changed to a C compiler, now the problem is that you
are providing the -x c option so it is still treating the .o files as .c
files. Please remove the --with-cflags="-x c" as that would make it just
work.

The -x c is an ugly hack to convince your C++ compiler to act more like
a C compiler, so it is obviously not needed with a C compiler.

/MF



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to