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 07-23-2003, 01:54 PM   #1
Musikolo
Member
 
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Rep: Reputation: 15
Lightbulb Linking error using g++


Hi mates! I' m sure that my error it's a silly thing but these kind of errors are what usually drive us mad. So, the thing is that I can compile a file in my university but when I use exactly the same command in my computer, I get an errorr. The command and its output are:

[bash#] g++ LBPROT.cpp ./scope-src/libscope.a
/tmp/ccYYTJfA.o(.text+0x27): In function `getimagef(char*, image_data*)':
: reference to `getimage(data*, char*, char*)' non-defined
collect2: ld returned the output state 1

This is exactly the same error I get in my university when I omit the library file 'libscope.a' where 'getimagef' function is defined.

Any suggestion?


Thanks to all of you for your help!!
 
  


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
Linking Error sheenak Programming 1 07-12-2004 12:52 AM
Linking error sheenak Programming 2 05-31-2004 08:04 AM
error while linking... trouby Linux - Software 0 10-15-2003 06:18 PM
libpcap linking error Hammo Linux - Networking 5 02-20-2003 08:20 AM
gcc linking error. ugenn Linux - Software 0 01-23-2003 12:18 AM

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

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