LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2010, 12:47 AM   #1
khushid
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Problem in installing CNET simulator installation


Hi,
I have problem in installation for CNET simulator for wireless network cnet-3.1.4. I have fedora 8 . The problem is when I execute the make command step.

I have already intalled tcl/tk 8.4
But still there is an error.
The error I get is
cd src && make
make[1]: Entering directory `/home/laxmi/cnet/cnet-3.1.4/src'
make[2]: Entering directory `/home/laxmi/cnet/cnet-3.1.4/src'
gcc -std=c99 -Wall -Werror -pedantic -O -fPIC -c applicationlayer.c
In file included from cnetprivate.h:48,
from applicationlayer.c:1:
preferences.h:153:1: error: "CNET4IPODHOST" redefined
preferences.h:152:1: error: this is the location of the previous definition
In file included from cnetprivate.h:115,
from applicationlayer.c:1:
tcltkfunctions.h:30:17: error: tcl.h: No such file or directory
tcltkfunctions.h:31:16: error: tk.h: No such file or directory
In file included from cnetprivate.h:115,
from applicationlayer.c:1:
tcltkfunctions.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[2]: *** [applicationlayer.o] Error 1
make[2]: Leaving directory `/home/laxmi/cnet/cnet-3.1.4/src'
make[1]: *** [it] Error 2
make[1]: Leaving directory `/home/laxmi/cnet/cnet-3.1.4/src'
make: *** [it] Error 2


Can anyone guide me what shall I do to remove these errors.
I made a search for tcl.h files but they are not there.from where and how can I get this file. Please help me out as I am unable to do my project.

Last edited by khushid; 01-25-2010 at 03:22 AM.
 
Old 01-19-2010, 07:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
tcltkfunctions.h:30:17: error: tcl.h: No such file or directory
tcltkfunctions.h:31:16: error: tk.h: No such file or directory
Please do these commands in the terminal window :
1) su
2) yum install tcl-devel tk-devel elfutils-devel

'cnet-3.1.4' requires tcl / tk version 8.4.xx.


If you have further questions, please do not forget
to tell, which Fedora version, you are using.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....

Last edited by knudfl; 01-19-2010 at 08:05 AM.
 
  


Reply

Tags
cnet


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with the installation of NS-2 Simulator pavan_p Linux - Newbie 2 11-16-2009 10:30 AM
Network Simulator installation suhas bharadwaj Linux - Networking 1 07-01-2009 01:07 AM
installing CNEt CWC-854 on slax 3.0 Marc1983 Linux - Wireless Networking 1 01-19-2007 06:17 PM
Installing of CNET WLAN on Fedora Gunnar Halvorsen Linux - Wireless Networking 0 08-09-2005 01:52 PM
problem installing CNET card in debian Falcone Linux - Wireless Networking 0 02-13-2004 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 AM.

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
Open Source Consulting | Domain Registration