LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2005, 10:20 AM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
Wierd compiler errors


I'm trying to make a library called librtk and I get the following error:

../librtk/librtk.a(motion_est_mmx.o)(.text+0x9d3): In function `pix_abs8x8_xy2_mmx2':
i386/motion_est_mmx.c:118: undefined reference to `bone'
../librtk/librtk.a(motion_est_mmx.o)(.text+0xcf3): In function `pix_abs16x16_xy2_mmx2':
i386/motion_est_mmx.c:118: undefined reference to `bone'
../librtk/librtk.a(motion_est_mmx.o)(.text+0xd73):i386/motion_est_mmx.c:118: undefined reference to `bone'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x24): In function `ff_simple_idct_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x120):i386/simple_idct_mmx.c:209: undefined reference to `d40000'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x1de4): In function `ff_simple_idct_put_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x1ee0):i386/simple_idct_mmx.c:209: undefined reference to `d40000'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x3bc4): In function `ff_simple_idct_add_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
../librtk/librtk.a(simple_idct_mmx.o)(.text+0x3cc0):i386/simple_idct_mmx.c:209: undefined reference to `d40000'
collect2: ld returned 1 exit status

I've googled and the only promising post said to use an older version of gcc, I've tried both 3.4.3 and 3.2.3 with the same error.

If its a dependency problem, I cant figure out what it needs.

This is really annoying - I've been trying for days to get it installed now - any help much appreciated,
 
Old 02-22-2005, 01:10 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's not a compiler error, that's a linker error.

Most likely either a name-mangling problem or
a plain type somewhere ;0 ... impossible to assess
from that output alone, though. We'd need to see
how it's invoked, and if THAT doesn't show any-
thing obvious then we'd need to see the code.


Cheers,
Tink
 
Old 03-28-2005, 01:18 AM   #3
J-Ho
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Dave, I am receiving the exact same errors.

Have you been able to rectify the problem?

Any help would be much appreciated.

Cheers.
 
Old 07-10-2005, 02:47 PM   #4
glanca
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
If you're building librtk for player and gazebo then apparently (I'm just working through this myself) you don't need libavcodec which is causing the problems so use:

Quote:
./configure --enable-python --disable-libavcodec
before you try to make.
 
  


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
Compiler Errors utopia901 Linux - Newbie 7 04-28-2005 02:46 AM
C++ compiler errors vickyj Linux - Software 1 08-29-2004 02:54 AM
Getting VMWare to work, plus wierd errors jlacroix Mandriva 4 01-17-2004 09:09 AM
Wierd errors pifly Linux - Newbie 1 07-07-2003 11:11 PM
Wierd errors vexer Linux - Software 1 05-15-2003 06:54 PM


All times are GMT -5. The time now is 12:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration