This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 158378 - Source fails to link against glut
Source fails to link against glut
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: freeglut (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-21 04:10 EDT by Paul F. Johnson
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-25 02:46:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Source code used to generate the reported error (766 bytes, text/plain)
2005-05-21 04:10 EDT, Paul F. Johnson
no flags Details

  None (edit)
Description Paul F. Johnson 2005-05-21 04:10:27 EDT
Description of problem:
When linking against freeglut, glViewPort is not undefined. I have checked the
GL.so file and glViewPort does have a symbol.

Version-Release number of selected component (if applicable):
freeglut-2.2.0-16
freeglut-devel-2.2.0-16

How reproducible:
Always

Steps to Reproduce:
1. Compile the attachment using -lm -lGL -lGLU -lglut -lX11 -L/usr/X11R6/lib
2.
3.
  
Actual results:
/tmp/ccgoPbqG.o(.text+0x75): In function `reshape':
cube.c: undefined reference to `glViewPort'
collect2: ld returned 1 exit status

Expected results:
Source compiles

Additional info:
Comment 1 Paul F. Johnson 2005-05-21 04:10:27 EDT
Created attachment 114662 [details]
Source code used to generate the reported error
Comment 2 Mike A. Harris 2005-05-24 10:01:24 EDT
File a bug report in freeglut's bug tracker on sourceforge, and paste the
URL to the report here, and we'll track the issue.  If freeglut developers
determine it to be a freeglut bug and provide a patch to fix it, we'll
consider it for inclusion in a future update.

Thanks in advance.
Comment 3 Mike A. Harris 2005-05-24 10:02:51 EDT
Setting status to "NEEDINFO", awaiting upstream bug URL.
Comment 4 Mike A. Harris 2005-05-25 02:46:51 EDT
Actually after reviewing this again briefly, this is a bug in your code,
not a bug in freeglut.

You're misnaming function calls.  In the future, please use a public mailing
list for assistance prior to filing a bug report.

Setting status to "NOTABUG".

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