LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2009, 06:29 AM   #1
sulacco
Member
 
Registered: Apr 2006
Posts: 46

Rep: Reputation: 15
Linker problem while compiling D-Link router source codes.


Hi, ppl! I found that D-Link DSL modem-router have source code for
their hardware and want to install on this modem that kind of software
in order to change it as I wish. But while compiling source code I encountered on problem such as:
Code:
../mips-linux-uclibc/bin/ld: cannot find -latm
collect2: ld returned 1 exit status
What is it and how to heal the problem?


the source is at:
ftp://ftp.dlink.ru/pub/ADSL/GPL_sour...SL-2540U_BRU_D
 
Old 05-18-2009, 08:13 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Are you trying to compile source code that is supposed to run in an embedded environment / on an EEPROM inside your router?

That is an aside actually, the error you posted seems to refer to the fact that you do not have the "atm" library.

I. e. your linked is looking for a file called

Code:
libatm.a
in either your /usr/lib or /usr/local/lib

I. e. you'll need to find, compile, and install this library before you'll be able to proceed.

Last edited by rylan76; 05-18-2009 at 08:14 AM.
 
Old 05-19-2009, 05:56 AM   #3
sulacco
Member
 
Registered: Apr 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Correct I have this library in install package.
Maybe I can just to copy it in /usr/lib ?
 
  


Reply


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
where is the source codes for the open source drivers for each linux distros centguy Linux - Software 9 01-02-2009 11:14 AM
compiling and source codes on slackware. gforum Slackware 30 10-11-2008 02:47 PM
Difficulty with linker when compiling FreeBasic app on Ubuntu gvp87 Programming 1 03-17-2008 02:31 AM
linker error compiling superkaramba seth_m Linux - General 1 10-15-2003 07:07 PM
Compiling KDE apps, linker error julienp Programming 1 08-07-2003 07:25 AM

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

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