Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89362 - emerge xawtv version 3.86-r2 compilation/linking error
Summary: emerge xawtv version 3.86-r2 compilation/linking error
Status: RESOLVED DUPLICATE of bug 81564
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 16:54 UTC by Krzysiek
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysiek 2005-04-16 16:54:47 UTC
The error during emerge is:

......
  LD      console/fbtv
console/fs.o(.text+0x587): In function `fs_connect':
: undefined reference to `FSOpenServer'
etc ......

I found the solution: 
in file xawtv-3.86/console/Subdir.mk line 77 regarding linking fbtv:
present form of this line is:

$(FS_LIBS) -ljpeg -lm

but it should be:

$(FS_LIBS) -ljpeg -lm -lFS

the error was because of lacking -lFS option which tells
to link against libFS library.

After adding -lFS xawtv compiles OK.
 
(yes, i know, the proper form is to put -lFS in FS_LIBS variable, and it is
there, but magically ;-) it disappears in place where fbtv is linking)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-17 02:05:12 UTC
Is this the same problem as in Bug 81564 ?
Comment 2 Krzysiek 2005-04-17 05:41:45 UTC
Yes, this is the same problem as described in bug http://bugs.gentoo.org/show_bug.cgi?id=81564
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-17 15:57:35 UTC
OK, marking as duplicate.

*** This bug has been marked as a duplicate of 81564 ***