Bug 188493

Summary: libGL does not appear to have off scree OSMesa calls
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-18 23:47:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2006-04-10 16:51:34 UTC
Description of problem:

gcc OSMesa.c -lGL
/tmp/ccWBprIs.o(.text+0x27): In function `main':
OSMesa.c: undefined reference to `OSMesaCreateContext'
/tmp/ccWBprIs.o(.text+0x38):OSMesa.c: undefined reference to `OSMesaDestroyContext'
/tmp/ccWBprIs.o(.text+0x54):OSMesa.c: undefined reference to `OSMesaMakeCurrent'

same on FC5.  Is this intentional?  The entries are in the GL/osmesa.h header.

Version-Release number of selected component (if applicable):
xorg-x11-devel-6.8.2-37.FC4.49.2

Comment 1 Mike A. Harris 2006-05-18 23:47:26 UTC
You're linking to the wrong library.

Comment 2 Orion Poplawski 2006-05-19 15:39:19 UTC
Which for the record in -lOSMesa.  Sorry about that.