It is currently Thu Sep 19, 2019 9:14 pm


All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Tue Jul 23, 2013 7:44 am 
Offline

Joined: Sat Feb 12, 2011 9:16 am
Posts: 87
Hi
flaviojs wrote:
But at least I'll hunt for memory leaks and try to fix any crash that is reported. =)

Do you know "Address Sanitizer" https://code.google.com/p/address-sanitizer/ ? It can perhaps help you for that.
Sorry, I don't know more on it : I just saw it in a magazine



_________________
Live Raizo / Live Linux to simulate networks and performing system administration experiments.
* Last Release : v5.14.09.02p
[ http://sourceforge.net/projects/live-raizo ]


Top
 Profile  
 
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Tue Jul 23, 2013 3:29 pm 
Offline

Joined: Wed May 22, 2013 7:48 am
Posts: 93
Location: Portugal
@Raizo62

Thanks, i'll try it when I reach a dead end. =)

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


Top
 Profile  
 
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Wed Jul 31, 2013 8:09 pm 
Offline

Joined: Thu Nov 18, 2010 7:56 pm
Posts: 9
Hello
I tried to compile the Dynamips-0.2.8-community sources on Ubuntu 12.04 and got the following error:

[email protected]:~# cd /home/ccc/Desktop/dynamips-0.2.8-community/
[email protected]:/home/ccc/Desktop/dynamips-0.2.8-community# make
make -C stable
make[1]: Entering directory `/home/ccc/Desktop/dynamips-0.2.8-community/stable'
Linking rom2c
cc: error: /usr/lib/libelf.a: No such file or directory
make[1]: *** [rom2c] Error 1
make[1]: Leaving directory `/home/ccc/Desktop/dynamips-0.2.8-community/stable'
make: *** [dynamips.stable] Error 2

Did i do anything wrong?
Thanks.


Top
 Profile  
 
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Wed Jul 31, 2013 8:43 pm 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
manuel wrote:
Hello
I tried to compile the Dynamips-0.2.8-community sources on Ubuntu 12.04 and got the following error:

[email protected]:~# cd /home/ccc/Desktop/dynamips-0.2.8-community/
[email protected]:/home/ccc/Desktop/dynamips-0.2.8-community# make
make -C stable
make[1]: Entering directory `/home/ccc/Desktop/dynamips-0.2.8-community/stable'
Linking rom2c
cc: error: /usr/lib/libelf.a: No such file or directory
make[1]: *** [rom2c] Error 1
make[1]: Leaving directory `/home/ccc/Desktop/dynamips-0.2.8-community/stable'
make: *** [dynamips.stable] Error 2

Did i do anything wrong?
Thanks.

This is caused by the compiler being unable to find libelf.a

Firstly you will need to have libelf-dev installed along with two other libraries (uuid-dev & libpcap0.8-dev). These are available via Aptitude.

You have three options here:
  1. Install the prebuilt package that is available via aptitude from Launchpad (see here for details: topic6666.html)
  2. Edit the Makefile in the top-level directory and set the DYNAMIPS_LIB variable to either: lib/x86_64-linux-gnu for 64-bit or lib/i386-linux-gnu for 32-bit.
  3. Download dynamips-0.2.9 from http://sourceforge.net/projects/gns-3/files/Dynamips/0.2.9/ which contains updated Makefiles to eradicate this problem

The simplest method is to use the prebuilt packages (option 1). As these will be updated with new dynamips versions as they are released and removes the need to build dynamips yourself.

_________________
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  
 
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Thu Aug 01, 2013 3:08 pm 
Offline

Joined: Thu Nov 18, 2010 7:56 pm
Posts: 9
The second option worked like a charm. Thanks.


Top
 Profile  
 
 Post subject: Re: Dynamips-0.2.8-community
PostPosted: Thu Aug 01, 2013 4:56 pm 
Offline

Joined: Thu Jul 26, 2012 11:19 pm
Posts: 143
Location: U.K.
@Daniel - thanks for that fix (2).

My solution for Centos 6 i686 was to create a symlink from libelf.a to libelf.so (which in turn is recursively symlinked...) Now I'll have another try at building a 64-bit on Fedora 18.



_________________
GNS3 0.8.4 running on Windows 8.1
GNS3 0.8.4 running on CentOS 6.5


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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