Re: make error - cannot find -lperl

2010-09-21 Thread Wes Hardaker
> On Tue, 21 Sep 2010 15:23:12 +0100, "Barry Leggett" > said: BL> I have been using net-snmp without perl support for now but I believe I need BL> it in order to use mib2c so can we look at this further, please. Ahh... Then just use "--disable-embedded-perl" as you don't needed the emb

Re: make error - cannot find -lperl

2010-09-21 Thread Barry Leggett
- Original Message - From: "Wes Hardaker" To: "Barry Leggett" Cc: Sent: Wednesday, September 08, 2010 2:47 PM Subject: Re: make error - cannot find -lperl > >>>>> On Wed, 8 Sep 2010 01:13:53 +0100, "Barry Leggett" said: > > ... &

Re: make error - cannot find -lperl

2010-09-08 Thread Wes Hardaker
> On Wed, 8 Sep 2010 01:13:53 +0100, "Barry Leggett" > said: ... BL> /usr/bin/ld: cannot find -lperl ... BL> where should "perl" come from? I find it odd that configure thought it found it but then failed to link with it. But... you can just re-run configure with --without-perl-module

Re: make error while cross compiling with arm-linux-gnu

2009-11-19 Thread Kirill Mishustin
On Thu, 19 Nov 2009 12:15:40 +0530 radhika mv wrote: > /opt/arm_tools/bin/../lib/gcc/arm-linux-gnu/3.4.3/../../../../arm-linux-gnu/bin/ld: > mibgroup/snmpv3/.libs/usmConf.o: Relocations in generic >ELF (EM: 3) > > mibgroup/snmpv3/.libs/usmConf.o: could not read symbols: >File in wrong > format

Re: "make" error information analysis

2009-11-18 Thread Dave Shield
2009/11/18 飞飞 : > at the end of the "make" command output,I got error information below(the > net-snm-5.4.2.1 source code put  /usr/local/src/): > > collect2: ld returned 1 exit status > make[1]: *** [snmpd] Error 1 > make[1]: Leaving directory `/usr/local/src/net-snmp-5.4.2.1/agent' > make: *** [s

Re: Make-Error

2008-08-05 Thread Phani Chand.Kolli
Thomas, Now I am getting the following error. can you please guide me/ BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#make test making all in /ul/yyyt158/net-snmp-5.4.1.2/snmplib Target "all" is up to date. making all in /ul/yyyt158/net-snmp-5.4.1.2/agent making all in /ul/yyyt158/net-snmp-5.4.1.2/ag

Re: Make-Error

2008-08-04 Thread Phani Chand.Kolli
Thomas, Now I am getting the following error :( Warning: -L../../snmplib/.libs changed to -L/ul/yyyt158/net-snmp-5.4.1.2/perl/de fault_store/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/ul/yyyt158/net-snmp-5.4.1.2/perl/default _store/../../snmplib/ Unrecognized argument in LIB

Re: Make-Error

2008-08-04 Thread Phani Chand.Kolli
Thank you for your help. Now I am getting this error /bin/sh: cc_r: not found. make: 1254-004 The error code from the last command is 127. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 2. Stop. On 8/1/0

Re: Make-Error

2008-08-01 Thread Thomas Anders
Phani Chand.Kolli wrote: > BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#./configure --with-cc=cc_r... > [...] > checking for C compiler default output file name... configure: error: C > compiler cannot create executables On my AIX 5.3 box, cc_r is in /usr/vac/bin. So either add this directory to your PAT

Re: Make-Error

2008-08-01 Thread Phani Chand.Kolli
Thank youj for helping BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Net-SNMP configure 5.4.1.2, which was generated by GNU Autoconf 2.59

Re: Make-Error

2008-08-01 Thread Phani Chand.Kolli
BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#./configure --with-cc=cc_r... checking what to build and install... agent apps man local mibs using default persistent mask 077 using default AgentX socket /var/agentx/master using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB

Re: Make-Error

2008-08-01 Thread Thomas Anders
Phani Chand.Kolli wrote: > BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#./configure --with-CC=cc_r... --with-cc=cc_r Case matters. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - This SF.Net email is sponsored by

Re: Make-Error

2008-07-31 Thread Thomas Anders
Phani Chand.Kolli wrote: > BRKSVX20e/ul/yyyt158/net-snmp-5.4.1.2#perl -V > [...] > cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem [...] > > cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib > > -D_ALL_SOURCE - As documented in README.aix, you sho

Re: Make-Error

2008-07-29 Thread Thomas Anders
Phani Chand.Kolli wrote: > cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib > -D_ALL_SOURCE - > > D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias > -DUSE_NATIVE_DLOPEN > > -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong > -I/usr/opt/perl5/lib/5.8.2/a > > ix-thread-

Re: Make-Error

2008-07-29 Thread Phani Chand.Kolli
I am getting the following error. can some one please help me? net-snmp-5.4.1.1#make D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -I/usr/opt/perl5/lib/5.8.2/a ix-thread-multi/CORE -g -Daix5=aix5 -c mibgroup/a

Re: Make-Error

2008-07-24 Thread Thomas Anders
Mike Ayers wrote: >> "makefile", line 94: make: 1254-055 Dependency line needs >> colon or double colon operator. > > I'm not sure what the issue is here. It seems you're running AIX > native make, which I do not have access to. > > Can anyone on the list make on AIX? The problem

RE: Make-Error

2008-07-23 Thread Mike Ayers
[Please send all list correspondence to the list.] I'm not sure what the issue is here. It seems you're running AIX native make, which I do not have access to. Can anyone on the list make on AIX? Thanks, Mike > From: Phani Chand.Kolli [mailto:[EMAIL PROTECT

RE: Make-Error

2008-07-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Phani Chand.Kolli > please guide me if i am doing any thing wrong Something's definitely wrong here, but it's not you. Apparently some tool on your machine is converting tabs to spaces (detabifying) when it shouldn'

RE: Make-Error

2008-07-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Phani Chand.Kolli > Sent: Friday, July 18, 2008 6:15 AM > please let me know if the file is enough. If not, I've converted it to gzip. HTH, Mike Makefile.gz Description: Makefile.gz ---

Re: Make-Error

2008-07-18 Thread Phani Chand.Kolli
please let me know if the file is enough. Thank you for your help On Fri, Jul 18, 2008 at 3:28 AM, Thomas Anders <[EMAIL PROTECTED]> wrote: > Phani Chand.Kolli wrote: > > What about my other request for the gzip'ed Makefile?... can you be > > eloborate on this. can you let me know where i can

Re: Make-Error

2008-07-18 Thread Phani Chand.Kolli
please file is enough. Thank you for your help. On Fri, Jul 18, 2008 at 3:28 AM, Thomas Anders <[EMAIL PROTECTED]> wrote: > Phani Chand.Kolli wrote: > > What about my other request for the gzip'ed Makefile?... can you be > > eloborate on this. can you let me know where i can find it? > > Aft

Re: Make-Error

2008-07-18 Thread Thomas Anders
Phani Chand.Kolli wrote: > What about my other request for the gzip'ed Makefile?... can you be > eloborate on this. can you let me know where i can find it? After running configure you have a file "Makefile" in your top-level source directory. Your version of "make" claims there's a syntax error

Re: Make-Error

2008-07-17 Thread Phani Chand.Kolli
Plain "./configure" without any options? ... yes (I even tried with options which are specified in README.aix) README.aix in the top-level source directory? ... yes What about my other request for the gzip'ed Makefile?... can you be eloborate on this. can you let me know where i can find it? Th

Re: Make-Error

2008-07-17 Thread Thomas Anders
Phani Chand.Kolli wrote: > OS:- AIX 5.3 > > /net-snmp-5.4.1.1#make (I am running this after ./configure Plain "./configure" without any options? Did you read README.aix in the top-level source directory? What about my other request for the gzip'ed Makefile? +Thomas -- Thomas Anders (thomas

Re: Make-Error

2008-07-17 Thread Phani Chand.Kolli
OS:- AIX 5.3 /net-snmp-5.4.1.1#make (I am running this after ./configure Umesh:- net-snmp-5.4.1.1#make -v make: Not a recognized flag: v usage: make [-eiknqrst] [-k|-S] [-d[A|adg[1|2]msv]] [-D variable] [-f makefile ] [-j [jobs]] [variable=value ...] [target ...] BRKSVX20e/ul/yyyt158/net

Re: Make-Error

2008-07-17 Thread Richard Horton
2008/7/17 Phani Chand.Kolli <[EMAIL PROTECTED]>: > I ma getting the following error. > can some one please help me? > Without more info hard to say but it looks like the make your system is finding is aix and the makefile has been generated for GNU Make... When you run which make and find / -nam

Re: Make-Error

2008-07-17 Thread Umesh Kamath
Phani, I suspect its because of make command, Check your man page can you post the result of running 'make -v' and 'gmake -v'? "Phani Chand.Kolli" <[EMAIL PROTECTED]> 07/17/2008 20:53 To net-snmp-users@lists.sourceforge.net cc Subject Make-Error I ma getting the following error.

Re: Make-Error

2008-07-17 Thread Thomas Anders
Phani Chand.Kolli wrote: > I ma getting the following error. > can some one please help me? > > net-snmp-5.4.1.1#make > > "Makefile", line 94: make: 1254-057 Shell command needs a leading tab. What's the OS version? Exact configure command? What version of make (AIX vs. GNU) are you using? Plea

Re: Make - Error Code 139

2006-12-08 Thread Thomas Anders
Nardis, Frank wrote: > Attached output of "truss -f make". Looks like make is crashing on snmplib/Makefile. Please either: - install the current Solaris patch set for /usr/ccs/bin make, or - install GNU make and try again. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --

Re: Make - Error Code 139

2006-12-07 Thread Thomas Anders
Nardis, Frank wrote: > #truss make Use "truss -f make" (to follow fork()) and mail the output to me privately to keep list noise low. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Inf

RE: Make - Error Code 139

2006-12-07 Thread Nardis, Frank
uot;EXAMPLE.conf", 0xFFBFEFB8) = 0 lstat64("EXAMPLE.conf.def", 0xFFBFEE50) = 0 lstat64("standardall", 0xFFBFEFB8) Err#2 ENOENT lstat64("subdirs", 0xFFBFEE50) Err#2 ENOENT lstat64(".make.state", 0xFFBFD920)

Re: Make - Error Code 139

2006-12-07 Thread Thomas Anders
Nardis, Frank wrote: > # make > gcc -E -Iinclude -I./include > -I./agent/mibgroup -I. -I.-DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin > -x c ./sedscript.in | egrep '^s[/#]' | sed > 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s

Re: Make error on hpux 11.00

2006-09-05 Thread [EMAIL PROTECTED]
EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Oggetto: Re: Make error on hpux 11.00 > > [EMAIL PROTECTED] wrote: > > 3) aCC: /usr/ccs/bin/ld: Unsatisfied symbols: > >   Exit (code) > >   argvrestart (data) > >   argvrestartp (data) > >   argvrestartname (data) >

Re: Make error on hpux 11.00

2006-09-05 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > 3) aCC: /usr/ccs/bin/ld: Unsatisfied symbols: > Exit (code) > argvrestart (data) > argvrestartp (data) > argvrestartname (data) > *** Error exit code 1 Is there a particular reason for compiling with a C++ compiler? I strongly recommend to use a C compiler (eithe

Re: Make error on hpux 11.00

2006-09-05 Thread [EMAIL PROTECTED]
gent 'make' ends without errors but 'make test'reports many errors. I haven't try on any other HP-UX machine. Thanks > Da: Thomas Anders <[EMAIL PROTECTED]> > Data: Tue, 05 Sep 2006 13:54:07 +0200 > A: "[EMAIL PROTECTED]" <[EMAIL PROTECTED

Re: Make error on hpux 11.00

2006-09-05 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > I have installed net-snmp 5.3.1 but no builds fine for me on HP-UX 11.00.I > have the same net-snmp 5.3.0.1 problems. What exact errors do you get for a clean build with 5.3.1? What are your system/compiler details and configure options? Have you tried on any other HP-U

Re: Make error on hpux 11.00

2006-09-05 Thread [EMAIL PROTECTED]
snmptrapd auth (and 5.3) but i don't know apply them. Anyone can help me? Thank you in advance. Thanks > Da: Thomas Anders <[EMAIL PROTECTED]> > Data: Fri, 01 Sep 2006 16:18:12 +0200 > A: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Oggetto: Re: Make error on

Re: Make error on hpux 11.00

2006-09-01 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > I would install net-snmp v5.3.0.1. on hp-ux 11.00. > I run 3 configure with these options: > >> ./configure --with-libs=-lnm --prefix=/users/cmt/netsnmp/net-snmp-5.3.0.1/ >> --with-cc=aCC > > Makefiles are generated, but when I try to execute them the linking fails >