LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2003, 11:16 PM   #1
MadcapMagician
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Rep: Reputation: 0
please help


hi there i am some what new to linux but i have a problem with compiling source codesand such.
i get error messages such as error 2 and the like. i need to know what these eror number mean.

if any one knows what the error numbers mean when you try to use the make command please let me know so that i may be able to figureout what is going wrong with trying to compile and install this piece of software it is called SATAN-1.1.1 it a a network security analyizer tool. i want to compare the strenths and weaknesses of thisprogram compared to others such as languard net analyizer.

any help would be appreciated.

thanx

MadcapMagician

linux
 
Old 11-29-2003, 01:03 AM   #2
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Go through it again (./configure - make - etc) and then copy/paste all of the text from your terminal that and post it here.
 
Old 12-01-2003, 03:40 AM   #3
MadcapMagician
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
ok here you go .......

ok her you go i went through it againand this is the results i got

MadcapMagician@localhost satan2]$ ls
satan-1.1.1 satan-1.1.1.linux.fixed2.tar
[MadcapMagician@localhost satan2]$ cd satan-1.1.1
[MadcapMagician@localhost satan-1.1.1]$ ls
bin config include perl README reconfig rules satan.8 satan.ps TODO
Changes html Makefile perllib README-FIRST repent satan satan.man src
[MadcapMagician@localhost satan-1.1.1]$ make linux
The LINUX rules are untested and may be wrong
make[1]: Entering directory `/home/Madcap/satan2/satan-1.1.1'
cd src/misc; make "LIBS=" "XFLAGS=-DAUTH_GID_T=gid_t" "RPCGEN=../../bin/rpcgen.satan"
make[2]: Entering directory `/home/Madcap/satan2/satan-1.1.1/src/misc'
cc -O2 -I. -DAUTH_GID_T=gid_t -c -o md5.o md5.c
cc -O2 -I. -DAUTH_GID_T=gid_t -c -o md5c.o md5c.c
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/md5 md5.o md5c.o
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/sys_socket sys_socket.c
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/timeout timeout.c
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/rcmd rcmd.c
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/safe_finger safe_finger.c
../../bin/rpcgen.satan rex.x 2>/dev/null
cc -O2 -I. -DAUTH_GID_T=gid_t -c -o rex.o rex.c
rex.c: In function `rex_command':
rex.c:178: warning: passing arg 3 of pointer to function from incompatible pointer type
rex.c:178: warning: passing arg 5 of pointer to function from incompatible pointer type
rex.c: In function `rex_exit':
rex.c:222: warning: passing arg 3 of pointer to function from incompatible pointer type
rex.c:222: warning: passing arg 5 of pointer to function from incompatible pointer type
cc -O2 -I. -DAUTH_GID_T=gid_t -c -o rex_xdr.o rex_xdr.c
rex_xdr.c: In function `xdr_rex_start':
rex_xdr.c:51: warning: assignment from incompatible pointer type
rex_xdr.c:91: warning: assignment from incompatible pointer type
cc -O2 -I. -DAUTH_GID_T=gid_t -o ../../bin/rex rex.o rex_xdr.o
make[2]: Leaving directory `/home/Madcap/satan2/satan-1.1.1/src/misc'
cd src/boot; make "LIBS=" "XFLAGS=-DAUTH_GID_T=gid_t" "RPCGEN=../../bin/rpcgen.satan"
make[2]: Entering directory `/home/Madcap/satan2/satan-1.1.1/src/boot'
../../bin/rpcgen.satan bootparam_prot.x 2>/dev/null
cc -I. -O2 -DAUTH_GID_T=gid_t -c -o boot.o boot.c
boot.c:24:20: macro "strchr" requires 2 arguments, but only 1 given
boot.c: In function `main':
boot.c:41: called object is not a function
boot.c:41: called object is not a function
boot.c:64: warning: passing arg 5 of `callrpc' from incompatible pointer type
boot.c:64: warning: passing arg 6 of `callrpc' from incompatible pointer type
boot.c:64: warning: passing arg 7 of `callrpc' from incompatible pointer type
boot.c:64: warning: passing arg 8 of `callrpc' from incompatible pointer type
make[2]: *** [boot.o] Error 1
make[2]: Leaving directory `/home/Madcap/satan2/satan-1.1.1/src/boot'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Madcap/satan2/satan-1.1.1'
make: *** [linux] Error 2
[MadcapMagician@localhost satan-1.1.1]$

ok if there is some thing i have forgotten to do or missed in the first place please let me know thanx for any input you may have

 
Old 12-01-2003, 03:47 AM   #4
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Dont quote me, but i think the software you're trying to compile was built for an earlier kernel, or an earlier version of gcc, which is the c compiler.

Ade
 
Old 12-01-2003, 04:23 AM   #5
MadcapMagician
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
ok thanx i will check thi possibility out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration