Makefile: file not recognized:File format not recognized collect2: ld returned 1 exit
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
...
...
common/main-monolithic.o dymoum/libdymoum.a Makefile -L/ns-allinone-2.34/tclcl-1.19 -ltclcl -L/ns-allinone-2.34/otcl -lotcl -L/ns-allinone-2.34/lib -ltk8.4 -L/ns-allinone-2.34/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm -lm -Ldymoum -ldymoum
Makefile: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Prior to this, ns-2.34 was working fine. Patches are applied very well.
I am in under fedora 9 and:
Code:
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
I am unable to figure out what is this an issue of.
I have now installed the same dymoum in ns-2.29 under the same system. Do someone has any ideas what goes wrong when I try to install dymoum in ns-2.34 ?
do u guys applying a patch that they provide? my ns does not work when i try to install DYMO and i have to delete folder path everything, and install ns2.34 again from scratch because of the DYMO problem....
Example : Starting from scratch with a "clean" ns-allinone-2.34/ :
mv dymoum_ns-2.34_v0.3.patch ns-allinone-2.34/ns-2.34/
cd ns-allinone-2.34/ns-2.34/
patch -p1 dymoum_ns-2.34_v0.3.patch
tar xvf dynoum-0.3.tar.gz
ln -s dynoum-0.3/ dynoum
cd .. && ./install
.. is supposed to work.
EDIT : Compiles OK in ns-2.33, but not ns-2.34.
Stops with: File format not recognized (libdymoum.a ?).
..
well i follow the instruction from the website, but when i apply the patch, some of the patch said 'hunk failed'...but i proceed with ./configure, make distclean, ./configure and make, and it has some error (it even doesn't recognised the ns command), i try it two times, but will try it later and post the error message...
Example : Starting from scratch with a "clean" ns-allinone-2.34/ :
mv dymoum_ns-2.34_v0.3.patch ns-allinone-2.34/ns-2.34/
cd ns-allinone-2.34/ns-2.34/
patch -p1 dymoum_ns-2.34_v0.3.patch
tar xvf dynoum-0.3.tar.gz
ln -s dynoum-0.3/ dynoum
cd .. && ./install
.. is supposed to work.
EDIT : Compiles OK in ns-2.33, but not ns-2.34.
Stops with: File format not recognized (libdymoum.a ?).
..
shouldn't it be patch -p1 < dymoum_ns-2.34_v0.3.patch ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.