[ODE] 0.6 Release

Bram Stolk bram at sara.nl
Wed May 17 14:23:57 MST 2006


Rodrigo Hernandez wrote:
> 
> Have you tried using the configure options:
> 
>  --x-includes=DIR    X include files are in DIR
>  --x-libraries=DIR   X library files are in DIR

I did not use those options.
If I do use them: no difference.

But even if they would have worked... this would not be
an acceptable solution.

AC_PATH_X and AC_PATH_XTRA take care of finding the
paths to everything, but it is still the responsibility
of the configure.in author to actually specify -lX11

It is not a path thing... it is a matter of simply not
putting X11 on the cmd line (Xmu and Xi are present,
X11 is not)

g++  -g   -o dstest -L../../drawstuff/src dstest-dstest.o -ldrawstuff 
-lGL -lGLU -lXmu -lXi  -lstdc++ -lm -lpthread  -lstdc++ -lm -lpthread
ld32: WARNING 84 : 
/usr/lib/gcc-lib/mips-sgi-irix6.5/3.3.5/../../../libXmu.so is not used 
for resolving any symbol.
ld32: WARNING 84 : 
/usr/lib/gcc-lib/mips-sgi-irix6.5/3.3.5/../../../libXi.so is not used 
for resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "XOpenDisplay" -- 1st 
referenced by ../../drawstuff/src/libdrawstuff.a(libdrawstuff_a-x11.o).

  Bram


> 
> for configure?
> 
> Bram Stolk wrote:
> 
>>> what is left to be done?
>>>   
>>
>>
>> I think the autoconf stuff is still not OK.
>> E.g. on a SGI IRIX machine, -lX11 is not on the link line.
>>
>> configure.in uses AC_PATH_X and AC_PATH_XTRA
>> However, I don't think that this saves you from
>> having to check for (or specify directly) the X11 library.
>>
>> more info:
>> http://www.cs.cmu.edu/cgi-bin/info2www?(autoconf.info)System%20Services
>>
>> When I add the -lX11 to the Makefile manually, ODE builds and
>> runs just fine :-) (This is with gcc in 32bit mode).
>>
>> Just for kicks, I'll try to see if it will do 64bit irix
>> as well...
>>
>>
>>  Bram
>>
>> _______________________________________________
>> ODE mailing list
>> ODE at q12.org
>> http://q12.org/mailman/listinfo/ode
>>
>>  
>>
> 



More information about the ODE mailing list