Martin,

Thanks for the answer.

> The file flurry.c is compiled on intel, too, but differently.

Not on my macbook. I have a closer look and saw:

...
config.status: executing default-2 commands

    #################################################################

       Note: The OpenGL 3D library was not found.

             More specifically, we found the headers, but not the
             libraries; so either GL is half-installed on this
             system, or something else went wrong.  The `config.log'
             file might contain some clues.

             Those demos which use 3D will not be built or installed.
             You might want to consider installing OpenGL and
             re-running configure.  If your vendor doesn't ship
             their own implementation of OpenGL, you can get a free
             version at <http://www.mesa3d.org/>.  For general OpenGL
             info, see <http://www.opengl.org/>.

    #################################################################

User programs will be installed in /sw/bin/
...

that does not appear on my G5. On the later I see:

...
checking for glXCreateContext in -lGL... yes
checking MesaGL version number... 6.3
checking for glBindTexture in -lGL... yes
checking for GL/gle.h... no
checking for GL/gutil.h... no
...

instead of

...
checking for glXCreateContext in -lGL... no
...

on the macbook.

> SetCPPFLAGS: -I%p/lib/freetype219/include -U__VEC__

It does not help:

...
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 
-U__STRICT_ANSI__ -no-cpp-precomp -c -I. -I. -I./../../utils -I./.. -I../..  
-I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include 
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 
-I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo 
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 
-I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 
-I/sw/include -DSTANDALONE -DUSE_GL -DHAVE_CONFIG_H -g -O2 -I/sw/include  
-I/usr/X11/include flurry.c
In file included from flurry.h:38,
                 from flurry.c:96:
/usr/X11R6/include/GL/glu.h:282: warning: function declaration isn't a prototype
In file included from flurry.c:96:
flurry.h:72: error: syntax error before 'vector'
...

Note that -U__VEC__ does not show up. I also tried:

SetCC: gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 
-U__STRICT_ANSI__ -U__VEC__

but the build fails quickly at:

...
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 
-U__STRICT_ANSI__ -U__VEC__ -Wall -c -I. -I. -I./../utils -I..  
-I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include 
-I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 
-I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo 
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 
-I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include 
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 
-I/sw/include -DHAVE_CONFIG_H -g -O2 -I/sw/include  -I/usr/X11/include 
pdf2jpeg.m
pdf2jpeg.m:16:2: warning: #import is a GCC extension
pdf2jpeg.m: In function 'main':
pdf2jpeg.m:78: error: syntax error before '/' token
...

Dominique


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to