Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89362

Summary: emerge xawtv version 3.86-r2 compilation/linking error
Product: Gentoo Linux Reporter: Krzysiek <krzsam>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***