On Mon, Jun 16, 2008 at 02:01:59PM +0200, Remi Mommsen wrote:
> Hi,
> 
> I try to compile libftgl1 on 10.5/i386 (from the 10.4/unstable  
> branch). It fails with the following error message:
> 
> rm -f .libs/FTVectoriser.lo
> g++ -c -I../../include -I/sw/include -g -O2 -I/usr/X11/include/ 
> freetype2 -I/usr/X11/include ../../src/FTVectoriser.cpp  -fno-common - 
> DPIC -o .libs/FTVectoriser.lo
> ../../src/FTVectoriser.cpp: In member function 'void  
> FTVectoriser::MakeMesh(FTGL_DOUBLE)':
> ../../src/FTVectoriser.cpp:186: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> ../../src/FTVectoriser.cpp:186: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
> ../../src/FTVectoriser.cpp:187: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> ../../src/FTVectoriser.cpp:187: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
> ../../src/FTVectoriser.cpp:188: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> ../../src/FTVectoriser.cpp:188: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
> ../../src/FTVectoriser.cpp:189: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> ../../src/FTVectoriser.cpp:189: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
> ../../src/FTVectoriser.cpp:190: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> ../../src/FTVectoriser.cpp:190: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
> make[1]: *** [FTVectoriser.lo] Error 1

That source (and the whole package) builds for me on 10.4/powerpc.
Given that you have some compiling happening after the error:

> g++ -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
> I/usr/X11/include -I../../src  -c -o FTGLDemo.o ../../demo/FTGLDemo.cpp
> gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
> I/usr/X11/include -I../../src  -c -o tb.o ../../demo/tb.c
> gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
> I/usr/X11/include -I../../src  -c -o trackball.o ../../demo/trackball.c
> /bin/sh ../libtool --mode=link g++ FTGLDemo.o tb.o trackball.o -o  
> FTGLDemo ../src/libftgl.la   -L/usr/X11/lib -lfreetype -lz -Wl,- 
> framework,CoreServices,-framework,ApplicationServices -Wl,- 
> framework,GLUT -Wl,-framework,OpenGL -lobjc
> mkdir .libs
> libtool: link: cannot find the library `../src/libftgl.la'
> make[1]: *** [FTGLDemo] Error 1

...do I presume you have some sort of multiprocessing happening (a -j
in your MAKEFLAGS)? Maybe disabling that would help. You could try
editing the .info file to have "make -j1" instead of just "make" in
the CompileScript.

There are other bugs in the package itself (I just committed a missing
GCC:4.0, and there are deps on ft219 but it it is not used but it
self-consistently would use x11's ft).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to