Re: query regarding make

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
vijendra agarwal wrote:
> 1. ./configure --with-perl-modules : works fine.
> 2. make : giving following error
[...]
> gcc -c   -I../../include -g -O2 -Dlinux -I.
> -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g
> -pipe -m32 -march=i386 -mtune=pentium4  
> -DVERSION=\"5.2.1.2\" -DXS_VERSION=\"5.2.1.2\" -fPIC
> "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" 
>  default_store.c
> cc1: error: invalid option `tune=pentium4'

What gcc version is this? Looks like perl has been compiled with a newer 
version of gcc than the one you're using for compiling net-snmp. You'd 
better use the same. If you can't, manually remove "-mtune=pentium" from 
the Makefiles in the perl directory.

> How to use the mib2c tool?
> what configuration setting require for this? 

RTFM please, then come back with your specific questions (if any).


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.