Bug 586139 - libGL broken: libGL.so: undefined reference to `_nv000024gl'
Summary: libGL broken: libGL.so: undefined reference to `_nv000024gl'
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-26 21:47 UTC by Wolfgang Denk
Modified: 2010-08-26 19:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-26 19:26:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wolfgang Denk 2010-04-26 21:47:14 UTC
Description of problem:

Linking even trivial programs against libGL fails with undefined references to `_nv0000*gl' 

Version-Release number of selected component (if applicable):

mesa-libGL-7.7-4.fc12.i686


How reproducible:

alwaus

Steps to Reproduce:
1. Create a simple test program, like this:
$ cat foo.c
int main (void)
{ 
        return 0;
} 

2. Try to compile and link it against libGL:

$ gcc -o foo foo.c -lGL
  
Actual results:

$ gcc -o foo foo.c -lGL/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000024gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000026gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000030gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000025gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000028gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000023gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000022gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000027gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000029gl'
collect2: ld returned 1 exit status

Expected results:

No errors

Additional info:

Comment 1 Adam Jackson 2010-08-26 19:26:51 UTC
No, that's nvidia's libGL.


Note You need to log in before you can comment on or make changes to this bug.