It is currently Sat Jan 25, 2020 9:54 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cannot compile Dynamips :(
PostPosted: Wed Jun 11, 2014 2:18 pm 
Offline

Joined: Tue Apr 08, 2014 10:11 pm
Posts: 23
I already tried every steps found (forums, youtube videos,n00b guides, but nothing works for me), but still getting the same error every time, I have installed all dependencies but I have no luck at all.

I'm using Kali Linux 1.07


[email protected]:~/dynamips-master$ sudo make
make -C stable
make[1]: Entering directory `/home/omarch/dynamips-master/stable'
Linking dynamips
dev_pcmcia_disk.o: In function `dev_pcmcia_disk_init':
dev_pcmcia_disk.c:(.text+0x9fe): undefined reference to `mbr_set_chs'
dev_pcmcia_disk.c:(.text+0xa1e): undefined reference to `mbr_set_chs'
dev_pcmcia_disk.c:(.text+0xa2d): undefined reference to `mbr_write_fd'
dev_pcmcia_disk.c:(.text+0xa5d): undefined reference to `fs_fat_format16'
collect2: error: ld returned 1 exit status
make[1]: *** [dynamips] Error 1
make[1]: Leaving directory `/home/omarch/dynamips-master/stable'
make: *** [dynamips.stable] Error 2




Top
 Profile  
 
 Post subject: Re: Cannot compile Dynamips :(
PostPosted: Thu Jun 12, 2014 12:03 am 
Offline

Joined: Wed May 22, 2013 7:48 am
Posts: 93
Location: Portugal
Now it uses cmake to configure and generate the makefiles.
I deleted the old Makefiles to avoid confusion.

Instructions:
Code:
git clone git://github.com/GNS3/dynamips.git
cd dynamips
mkdir build
cd build
cmake ..
make install

If you want to put dynamips in a different path use
Code:
cmake -DCMAKE_INSTALL_PREFIX=/target/path ..
instead of
Code:
cmake ..

_________________
Dynamips maintainer and sporadic developer
https://github.com/GNS3/dynamips


Top
 Profile  
 
 Post subject: Re: Cannot compile Dynamips :(
PostPosted: Sat Jun 21, 2014 8:48 pm 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
I have now added these instructions to the README.md that is displayed by defualt on the Dynamips Github page.

https://github.com/GNS3/dynamips#how-to ... e-dynamips



_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO