LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2016, 05:04 PM   #1
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Rep: Reputation: Disabled
Unhappy ERROR: Make failed - while installing NCTUns 6.0 on fedora


Hi all;

I urgently need your help, as I need NCTUns for my thesis program. I installed fedora 11 on VMWare WorkStation 12 player, all updates were done successfully for fedora 11 kernel and all NCTUns dependency file was installed before begining its installation. On trying to install NCTUns using the ./install.sh command, I got the following errors thus:

*
* The NCTUns 6.0 Network Simulator Installation Script Program
*
* Notes: 1. You must be the root user to successfully run this program.
* 2. Normally, you can simply answer "y" or "yes" to all questions.
* 3. The related files of NCTUns will be installed in /usr/local/nctuns by default.
*
*
*
*
*
*
*
*
*
* In the following, this script will begin to install NCTUns. If you want
* to abort this installation, you should press "control+C" NOW!
*
* Otherwise, you can press the "Enter" key to begin.
*





**
** Install the NCTUns Kernel
**
STATE: install new nctuns kernel or upgrade older nctuns kernel
Preparing... ##################################################
kernel-nctuns ##################################################
STATE: modifiy grub configuration to disable hiddenmenu function and extend timeout limit
REPORT: install the NCTUns kernel ... ok



**
** Install System Libraries
**
STATE: libstdc++.so.6 existed
STATE: The tcl library is already installed.
STATE: The pcap library is already installed.
STATE: configure dynamic linker run time bindings
REPORT: install libstdc++.so.6 ... .skip
REPORT: install libtcl8.5 ... skip
REPORT: install libpcap.so.0.9 ... skip



**
** Build the simulation engine and libraries
**
STATE: build nctuns and libawp.so
GEN .version
CXX nctuns.o
LD built-in.o
LIB module/phy/libawp.so
/usr/bin/ld: module/phy/modulation/BPSK.o: relocation R_X86_64_32S against `vtable for BPSK' can not be used when making a shared object; recompile with -fPIC
module/phy/modulation/BPSK.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [module/phy/libawp.so] Error 1
make[1]: *** [module/phy] Error 2
make: *** [module] Error 2

ERROR: make failed...

I have hence tried to install it but all my trials are failing, I downloaded NCTUns 6.0 from this site > https://github.com/jorgenio/nctuns

Please, kindly point out what I am doing wrong and what I need to do to get it installed. Any help will be kindly and highly appreciated. Thanks in advance.
 
Old 05-06-2016, 05:41 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Welcome to LQ.

NCTUns is a 32bits application
https://github.com/jorgenio/nctuns/t...CTUns-6.0/RPMS


Quote:
relocation R_X86_64_32S .....
? Are you using a 32bits Fedora 11 ?
This command will show : $ uname -m

NCTUns info : http://www.linuxquestions.org/questions/tags/nctuns/


-

Last edited by knudfl; 05-06-2016 at 05:43 PM.
 
Old 05-06-2016, 05:46 PM   #3
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
@knudfl

I installed Fedora 11 64bits.

As you can see thus:

[root@localhost home]# uname -m
x86_64
[root@localhost home]#

Do you suggest I download Fedora 11 i386 version and installed it on the VMWare Workstation 12 player. If NCTUns is 32bit architecture supported as you said or what do you suggest I should do please. Thank you a lot for responding on time. I really appreciate.

Last edited by dfnt; 05-06-2016 at 05:54 PM.
 
Old 05-06-2016, 05:59 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
OK, then please give NCTUns a try with the 32bits version ...
http://archives.fedoraproject.org/pu...6-Live-KDE.iso
 
Old 05-06-2016, 06:03 PM   #5
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
@knudfl

Thank you for the prompt reply. I am currently downloading Fedora 11 32bits DVD from > https://archives.fedoraproject.org/p...dora/i386/iso/

Is it alright to download from this link for the 32bits version of Fedora 11 or I should go for the Live CD version you specified?

I mean, which one is better for the NCTUns 6.0 installation, Is it the Live CD or the DVD version of Fedora 11 32bits?

Thank you once again.

Last edited by dfnt; 05-06-2016 at 06:12 PM.
 
Old 05-06-2016, 06:28 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Quote:
https://archives.fedoraproject.org/p...dora/i386/iso/

Is it alright to download from this link for the 32bits version of Fedora 11
Doesn't matter which version you are choosing.

Good luck !
 
Old 05-06-2016, 06:32 PM   #7
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
@knudfl

Thank you for your timely response. I have gone for the Fedora 11 32bits DVD version. And I will post my feedback as soon as I am done. Thanks once again. I really appreciate.
 
Old 05-06-2016, 06:45 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Requirements for NCTUns :

# yum install gcc-c++ tcsh autoconf automake libtool libXmu-devel \
xterm mkinitrd tcl-devel tk-devel ncurses-devel qt3
 
Old 05-06-2016, 06:48 PM   #9
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
@knudfl

Alright.

I actually did that for the previous installation and yet it gave me that error. But I will try it again with the one I just finished downloaded. Thank you.

AFTER FOLLOWING ALL THE STEPS YOU GAVE ME: - This is the output of the installation again. it goes thus:

*
* The NCTUns 6.0 Network Simulator Installation Script Program
*
* Notes: 1. You must be the root user to successfully run this program.
* 2. Normally, you can simply answer "y" or "yes" to all questions.
* 3. The related files of NCTUns will be installed in /usr/local/nctuns by default.
*
*
*
*
*
*
*
*
*
* In the following, this script will begin to install NCTUns. If you want
* to abort this installation, you should press "control+C" NOW!
*
* Otherwise, you can press the "Enter" key to begin.
*





**
** Install the NCTUns Kernel
**
STATE: install new nctuns kernel or upgrade older nctuns kernel
Preparing... ##################################################
kernel-nctuns ##################################################
STATE: modifiy grub configuration to disable hiddenmenu function and extend timeout limit
REPORT: install the NCTUns kernel ... ok



**
** Install System Libraries
**
STATE: libstdc++.so.6 existed
STATE: The tcl library is already installed.
STATE: The pcap library is already installed.
STATE: configure dynamic linker run time bindings
REPORT: install libstdc++.so.6 ... .skip
REPORT: install libtcl8.5 ... skip
REPORT: install libpcap.so.0.9 ... skip



**
** Build the simulation engine and libraries
**
STATE: build nctuns and libawp.so
GEN .version
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/config
GEN autoconf.h
CXX agent.o
CXX app_init.o
CXX auto_vehicle_signal.o
CXX command_server.o
CXX commun_gui.o
CXX dispatcher.o
CXX event.o
CXX exportStr.o
CXX gbind.o
CXX heap.o
CXX init.o
CXX maptable.o
CXX mbinder.o
CXX nctuns.o
CXX nctuns_api.o
CXX nodetype.o
CXX object.o
CXX packet.o
CXX random.o
CXX regcom.o
CXX scheduler.o
CXX sock_skel.o
CXX sysrt.o
CXX tclBinder.o
CXX tclObject.o
CXX timer.o
CXX tun_mmap.o
CXX IPC/ns.o
LD IPC/built-in.o
CXX protocol_HEADER/mac-802_11_management_framebody.o
CXX protocol_HEADER/mac-802_11e_management_framebody.o
LD protocol_HEADER/built-in.o
LD built-in.o
CXX module/80211p/mac/mac_80211p.o
LD module/80211p/mac/built-in.o
CXX module/80211p/phy/channel_coding.o
CXX module/80211p/phy/channel_model.o
CXX module/80211p/phy/ofdm_80211p.o
CXX module/80211p/phy/fec/cc/conv_code.o
LD module/80211p/phy/fec/cc/built-in.o
LD module/80211p/phy/fec/built-in.o
LD module/80211p/phy/built-in.o
CXX module/80211p/wme/wme.o
LD module/80211p/wme/built-in.o
LD module/80211p/built-in.o
CXX module/arp/arp.o
LD module/arp/built-in.o
CXX module/gprs/GprsSw/GprsSw.o
LD module/gprs/GprsSw/built-in.o
CXX module/gprs/GtpGmm/GgsnGtp.o
CXX module/gprs/GtpGmm/SgsnGtp.o
CXX module/gprs/GtpGmm/HLR/HLR.o
LD module/gprs/GtpGmm/HLR/built-in.o
LD module/gprs/GtpGmm/built-in.o
CXX module/gprs/SndcpGmm/GprsGmm.o
CXX module/gprs/SndcpGmm/SndcpGmm.o
LD module/gprs/SndcpGmm/built-in.o
CXX module/gprs/bssgp/bss_bssgp.o
CXX module/gprs/bssgp/bssrelay.o
CXX module/gprs/bssgp/leakbucket.o
CXX module/gprs/bssgp/ns.o
CXX module/gprs/bssgp/pdu.o
CXX module/gprs/bssgp/sgsn_bssgp.o
LD module/gprs/bssgp/built-in.o
CXX module/gprs/include/bss_message.o
CXX module/gprs/include/burst_type.o
CXX module/gprs/include/channel_coding.o
CXX module/gprs/include/GprsObject.o
CXX module/gprs/include/GPRS_rlcmac_message.o
CXX module/gprs/include/parser.o
CXX module/gprs/include/partial_queue.o
LD module/gprs/include/built-in.o
CXX module/gprs/llc/llc.o
CXX module/gprs/llc/llc_impl.o
LD module/gprs/llc/built-in.o
CXX module/gprs/mac/GPRS_bts_mac.o
CXX module/gprs/mac/GPRS_ms_mac.o
CXX module/gprs/mac/mac_header.o
CXX module/gprs/mac/two_slot_usf_granted_ind.o
LD module/gprs/mac/built-in.o
CXX module/gprs/radiolink/radiolink.o
LD module/gprs/radiolink/built-in.o
CXX module/gprs/rlc/rlc.o
CXX module/gprs/rlc/state_array.o
CXX module/gprs/rlc/tcb.o
LD module/gprs/rlc/built-in.o
LD module/gprs/built-in.o
CXX module/hub/hub.o
LD module/hub/built-in.o
CXX module/its/road.o
CXX module/its/tactic_api.o
In file included from module/its/tactic_api.cc:58:
module/its/obstacle.h:1: error: expected unqualified-id before ‘.’ token
make[2]: *** [module/its/tactic_api.o] Error 1
make[1]: *** [module/its] Error 2
make: *** [module] Error 2

ERROR: make failed...

I do not know what I am doing wrong, all dependencies were installed before the start of the execution of the command ./install.sh

Could it be the NCTUns I downloaded or something else. Anyone should kindly point me to where I can get complete and up to date NCTUns software and put me through some installation technicalities. Thank you in advance.

Last edited by dfnt; 05-07-2016 at 10:17 AM.
 
Old 05-08-2016, 07:44 AM   #10
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Question @knudfl

Hi;

I managed to get it installed and set the path thus:

export NCTUNSHOME=/usr/local/nctuns
export NCTUNS_TOOLS=$NCTUNSHOME/tools
export NCTUNS_BIN=$NCTUNSHOME/bin
export PATH=${NCTUNS_BIN}:${PATH}

and restarted the system. At the next login, I choose "nctuns" kernel and on trying to executes the dispatcher, coordinator and client, I am having the out thus:

[root@localhost nctuns]# source /usr/local/nctuns/etc/nctuns.bash
[root@localhost nctuns]# dispatcher
bash: dispatcher: command not found
[root@localhost nctuns]#

Kindly point out what I'm doing wrong and how to rectify it. Is it that my Path is not set well or what could I be missing. Thank you in advance.
 
Old 05-08-2016, 10:17 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Re #10

The export command is temporary.
Either execute the export commands for each terminal session,
or source the nctuns script /usr/local/nctuns/etc/nctuns.bash
http://blog-archive.copyninja.info/2...tion-help.html

Open three terminal windows , and su to root.
First terminal : 1) # source /usr/local/nctuns/etc/nctuns.bash
2) # dispatcher

Second terminal : 1) # source /usr/local/nctuns/etc/nctuns.bash
2) # coordinator

Third terminal : 1) # source /usr/local/nctuns/etc/nctuns.bash
2) # nctunsclient


-
 
Old 05-08-2016, 04:33 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,535

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
Quote:
I installed fedora 11
it you are intent on using a UNSUPPORTED and 12 versions OUT OF DATE operating system
- EXPECT MAJOR PROBLEMS -
-- Fedora 11 went End Of Life in June of 2010 --
it is missing 6 YEARS of updates and is using 6 year old versions of programs


the first one is there are NO updates
no software to install
and you will have to MANUALLY edit the yum repos to point to the ARCHIVES to install the old and out of date and unsupported versions of software


for using a 6 year old version you might want to post on the End Of Life section of the Fedora forum
http://www.forums.fedoraforum.org/forumdisplay.php?f=75

Last edited by John VV; 05-08-2016 at 04:37 PM.
 
Old 05-08-2016, 04:40 PM   #13
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Unhappy @John VV

Thank you for your response, as I need to install NCTUns software on Fedora, what do you propose I should do, or how can I get NCTUns installed without any problem. I look forward to your reply. Thank you in advance.
 
Old 05-08-2016, 05:00 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Re #12, #13.

NCTUns for Fedora 11 requires Fedora 11. No later version can be used.
 
Old 05-08-2016, 05:16 PM   #15
dfnt
LQ Newbie
 
Registered: May 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Unhappy @knudfl

I tried to set the path using this youtube video: > https://www.youtube.com/watch?v=so1Q5zYLQx4

But after restart the system, it refuse to boot again to the desktop interface, it is just stopping or hooking after the post-booting test.

I can not get to the Fedora interface again. What can I do, and have I done anything wrong following the video procedure?

Thank you in advance
 
  


Reply

Tags
nctuns


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
error in installing NCTUns hiba.yousef.1991 Linux - Newbie 9 05-27-2014 01:05 AM
make failed Error in GNuRadio installation on fedora 17 fabe856 Linux - Software 5 03-28-2013 07:58 AM
Problem installing NCTUNS simulator in fedora 17 siddeshwar Fedora 6 10-25-2012 05:47 AM
NCTUns Installation Error. make: *** [tcsh] Error 1 banuri Linux - Newbie 1 08-08-2012 08:52 AM
error while installing nctuns 4.0 on fedora 7 perfectvijay Linux - Software 1 09-14-2008 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 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