Re: Make-Error

"Phani Chand.Kolli" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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/agentx/master_admin.c -DPIC
-o

mibgroup/agentx/.libs/master_admin.o

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-multi/CORE -g -Daix5=aix5 -c mibgroup/agentx/master_admin.c -o
mibgrou

p/agentx/master_admin.o >/dev/null 2>&1

/bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../a

gent/mibgroup -I../snmplib -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qm

axmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_

FILES -qlonglong -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g
-Daix5=a

ix5 -c -o mibgroup/agentx/agentx_config.lo mibgroup/agentx/agentx_config.c

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-multi/CORE -g -Daix5=aix5 -c mibgroup/agentx/agentx_config.c -DPIC
-o

mibgroup/agentx/.libs/agentx_config.o

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-multi/CORE -g -Daix5=aix5 -c mibgroup/agentx/agentx_config.c -o
mibgro

up/agentx/agentx_config.o >/dev/null 2>&1

/bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../a

gent/mibgroup -I../snmplib -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qm

axmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_

FILES -qlonglong -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g
-Daix5=a

ix5 -c -o snmp_perl.lo snmp_perl.c

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-multi/CORE -g -Daix5=aix5 -c snmp_perl.c -DPIC -o
.libs/snmp_perl.o

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16:
1506-007

(S) "struct drand48_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16:
1506-007

(S) "struct random_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16:
1506-007

(S) "struct random_data" is undefined.

"snmp_perl.c", line 20.23: 1506-280 (W) Function argument assignment between
typ

es "void(*)(struct interpreter*,struct cv*)" and "void(*)(struct cv*)" is
not al

lowed.

"snmp_perl.c", line 50.29: 1506-280 (W) Function argument assignment between
typ

es "void(*)(struct interpreter*)" and "void(*)(void)" is not allowed.

make: 1254-004 The error code from the last command is 1.



Stop.

make: 1254-004 The error code from the last command is 2.



Stop.


On 7/24/08, Thomas Anders <[email protected]> wrote:
>
> 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 is that all Makefile lines of the form
>
> target: <nothing>
>        some_command
>
> have eight spaces before "some_command" instead of a tab. As it is
> consistent, I suspect a problem in the toolchain on this particular AIX box
> in combination with autoconf. It'll need some time and energy to find out
> where exactly. FWIW, I cannot reproduce this problem on my AIX 5.1, 5.2 and
> 5.3 machines at all.
>
> I propose to run "sh -x configure ..." instead of "configure ..." and log
> the output to a file, then look in that log file what exact command is used
> to produce the top-level Makefile.
>
>
> +Thomas
>
> --
> Thomas Anders (thomas.anders at blue-cable.de)
>



-- 
---------------------------
Thank's & Regard's

Phani Chand. Kolli
Tivoli Specialist (TIM/TAM)
612 839 4433

-------------------------------------------------------------------------
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
[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.