LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2003, 07:48 AM   #1
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Rep: Reputation: 32
Angry problem compiling Clanlib 0.6.5


hi,

i tried to compile Clanlib 0.6.5 (trying to install gecko) but i get error. i tried their site but without any luck. i get following:

Code:
Compile command .c = gcc -g -O2 -Wall -I Sources -I /usr/X11R6/include -I 
/usr/X11R6/include/X11 -I/usr/include/freetype2 -fPIC -DNOCONTROLS -D__int64=int64_t -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING=""
 -DPACKAGE_BUGREPORT="" -DCL_SCANDIR="/usr/local/lib/ClanLib" -DHAVE_LIBZ=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DUSE_X11=1 -DUSE_JOY=1 -DUSE_OPENGL=1 
-DUSE_VIDMODE=1 -DUSE_CLANSOUND=1 -DUSE_NETWORK=1 -DUSE_I386_ASSEMBLER=1 
-DUSE_GUI=1 -DUSE_MIKMOD=1 -DUSE_JPEG=1 -DUSE_SMALLJPEG=1 -DUSE_VORBIS=1 
-DUSE_TTF=1 -DHAVE_LIBPTHREAD=1 -DDEBUG=1 -g3 -ggdb3
Compile command .s = as
Compiling Sources/GL/GLX/displaycard_glx.cpp
Sources/GL/GLX/displaycard_glx.cpp: In member function `virtual void (* 
   CL_GLX_DisplayCard::get_proc_address(const std::string&))()':
Sources/GL/GLX/displaycard_glx.cpp:366: `glXGetProcAddressARB' undeclared 
   (first use this function)
Sources/GL/GLX/displaycard_glx.cpp:366: (Each undeclared identifier is reported 
   only once for each function it appears in.)
make: *** [Libs/Intermediate/displaycard_glx.o] Error 1

Anybody knows. i presume it has something to do with my graphic card (chipset 845) but i don't know what to do...
any help would be appritiated... thanks

indy
 
Old 05-30-2004, 02:49 AM   #2
nawcom
LQ Newbie
 
Registered: May 2004
Posts: 17

Rep: Reputation: 0
This may be posted about a year later than needed, but I'm sure people (like me) will find this useful when they google for this same issue in ClanLib 6.5.1.

The bug is of course in displaycard_glx.cpp.

Open it up and add this line to it:

#define GLX_GLXEXT_PROTOTYPES

The problem has to do with glx and glxext; this should do the job.

-nawcom

Last edited by nawcom; 05-30-2004 at 02:51 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ClanLib problems on Fedora core 1# TippyToes Linux - Software 1 01-05-2005 11:19 PM
Installing ClanLib Problems somerandomdude Linux - Software 0 11-29-2004 04:36 PM
compiling and clanlib tardigrade Programming 1 10-20-2004 12:37 AM
Compiling problem.... pyrocrickett Linux - Software 2 09-11-2003 02:19 PM
problem compiling qt qanopus Linux - Software 3 03-08-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration