#11 Build problem in linux64

closed
nobody
None
5
2007-09-29
2006-06-07
No

I tried to compile a 0.9.6 package in a Kubuntu
Dapper amd64 env.

It failed with mess
/usr/bin/ld: skipping
incompatible ./glut-3.7/gle/libgle.a when searching
for -lgle
/usr/bin/ld: cannot find -lgle
collect2: ld returned 1 exit status
make: *** [crrcsim] Error 1

Now in the glut-3-7/gle/ dir there already is a
libgle.a dated 2005-07-31 so you might want to take
that out of the package.

Simply deleting this old lib, do a make clean, and
restart wasnt suffucient.

But if I run make inside glut-3.7/gle/ it builds a
new libgle.a.

With this new lib I was able to get make -f
Makefile.linux64 to link correctly and everything
worked.

So there must be some makefile bug that excludes this
dir somehow.

/ Fredrik

Discussion

  • Jan Reucker
    Jan Reucker
    2007-09-29

    Logged In: YES
    user_id=712954
    Originator: NO

    Hello,

    many thanks for your contribution. The libgle from this directory is very old indeed and never was intended to be really used as most Linux distros distribute libgle with the GLUT package. It's part of CRRCsim's long history and will be removed in the next release. In the current CVS HEAD, libgle is no longer needed to link CRRCsim, so the problem will be gone with 0.9.9 or when using the latest CVS.

    Kind regards,
    Jan R.

     
  • Jan Reucker
    Jan Reucker
    2007-09-29

    • status: open --> closed