Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

prolems appear when install specific program

  Date: Dec 26    Category: Unix / Linux / Ubuntu    Views: 513
  

plz i want your help in installing groovenet simulator, this is the website of
program: www.seas.upenn.edu/~rahulm/Research/GrooveNet/
and contain also PDF file explain steps of installation,
i use ubuntu 7.10 and i follow the steps of installion and appear to me alot of
problems,the last problem that i can't solve it is "when i build the program
with make command":


WAVEapi.cpp:30:18: error: pcap.h: No such file or directory
WAVEapi.cpp:31:22: error: pcap-int.h: No such file or directory
WAVEapi.cpp:115: error: expected constructor, destructor, or type conversion
before '*' token
WAVEapi.cpp:248: error: 'Txconn' was not declared in this scope
WAVEapi.cpp:427: error: 'pcap_t' was not declared in this scope
WAVEapi.cpp:427: error: expected primary-expression before ')' token
WAVEapi.cpp:427: error: 'pcap_sendpacket' was not declared in this scope
WAVEapi.cpp:575: error: 'Rxconn' was not declared in this scope
WAVEapi.cpp:575: error: 'pcap_next_ex' was not declared in this scope
WAVEapi.cpp:581: error: invalid use of undefined type 'struct pcap_pkthdr'
WAVEapi.cpp:572: error: forward declaration of 'struct pcap_pkthdr'
WAVEapi.cpp:785: error: 'pcap_close' was not declared in this scope
WAVEapi.cpp:1014: error: 'PCAP_ERRBUF_SIZE' was not declared in this scope
WAVEapi.cpp:1016: error: 'Txconn' was not declared in this scope
WAVEapi.cpp:1016: error: 'Rxconn' was not declared in this scope
WAVEapi.cpp:1022: error: 'errbuf' was not declared in this scope
WAVEapi.cpp:1022: error: 'pcap_open_live' was not declared in this scope
WAVEapi.cpp:1029: error: 'pcap_setnonblock' was not declared in this scope
make: *** [WAVEapi.o] Error 1


MY Solution:

is to install install libpcap by using the following 2 commands:
sudo wget www.tcpdump.org/release/libpcap-0.9.8.tar.gz "to download this
file from internet"
sudo tar zxvf libpcap-0.9.8.tar.gz "to extract the file"


and have the following errors and i ignore warnings:

WAVEapi.cpp:31:22: error: pcap-int.h: No such file or directory
"although i have pcap-int.h when i extract libpcap file, where appear the
following when extract (libpcap-0.9.8/./pcap-int.h)
WAVEapi.cpp:427: error: 'pcap_sendpacket' was not declared in this scope
WAVEapi.cpp:575: error: 'pcap_next_ex' was not declared in this scope
WAVEapi.cpp:1022: error: invalid conversion from 'const char*' to 'char*'
WAVEapi.cpp:1022: error: initializing argument 1 of 'pcap_t*
pcap_open_live(char*, int, int, int, char*)'
make: *** [WAVEapi.o] Error 1


PLZ i want your helps i need this program very much, i wait your helps and
solutions

Share: 

 

7 Answers Found

 
Answer #1    Answered On: Dec 26    

Have you ran ./configure before using make??

 
Answer #2    Answered On: Dec 26    

Also, try checking Synaptic for libpcap and install from there - it's in
the repositories for 8.04 so might be available in 7.10. Also, there
are development packages for libpcap listed in the repositories
(libpcap-dev) - it could be that you need to install the appropriate dev
package for your version of libpcap as well.

 
Answer #3    Answered On: Dec 26    

i run "./configure" by "rania@rania-desktop:~/groovenet/project/src$
./configure"
and the following statement appear to me:

"bash: ./configure: No such file or directory"

And also install libpcap0.8,libpcap0.8-dev from synaptic
and type "make" by "rania@rania-desktop:~/groovenet/project/src$ make"
and the following appears to me:

g++ -c -pipe -Wall -W -g -DDEBUG -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o
WAVEapi.o WAVEapi.cpp
WAVEapi.cpp:31:22: error: pcap-int.h: No such file or directory
WAVEapi.cpp: In function ‘STATUS_TYPE
send_WAVE_tx_pkt(wrm_configuration_parameters_type*, in_addr_t, const unsigned
char*, WORD)’:
WAVEapi.cpp:345: warning: comparison is always true due to limited range of data
type
WAVEapi.cpp: At global scope:
WAVEapi.cpp:637: warning: unused parameter ‘pParam’
WAVEapi.cpp: In function ‘STATUS_TYPE
set_WRM_configuration(wrm_configuration_parameters_type*)’:
WAVEapi.cpp:845: warning: comparison is always true due to limited range of data
type
make: *** [WAVEapi.o] Error 1

what can i do, plz help

 
Answer #4    Answered On: Dec 26    

I do not know. I would ask for the tech support. I saw one other person try to
install it and they had problems that went un resolved. I am thinking it is a
Kernel issue.

 
Answer #5    Answered On: Dec 26    

i run ./configure, "rania@rania-desktop:~/groovenet/project/src$
./configure"
but the following statement appear to me,
"bash: ./configure: No such file or directory"
what can i do

 
Answer #6    Answered On: Dec 26    

i run ./configure, "ania@rania-desktop:~/groovenet/project/src$ ./configure"
and this statement appear to me, "bash: ./configure: No such file or directory"
what can i do

 
Answer #7    Answered On: Dec 26    

Yes, I been playing with it too. I can't get it to run at all. Perhaps it is a
kernel issue?

 
Didn't find what you were looking for? Find more on prolems appear when install specific program Or get search suggestion and latest updates.




Tagged: