[AD] 4.3 on OSX

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Im trying to compile 4.3 on OS X but ran into a compilation error. Here was my exact commands:

511  cd 4.3
512  ls
513  ./fix.sh osx
514  ./fix.sh macosx
515  autoconf
516  autoheader
517  aclocal
518  autoconf
519  ./configure --disable-asm && make

and my error was

gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro -I/sw/include -DALLEGRO_USE_C -DALLEGRO_LIB_BUILD -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused -fPIC -DALLEGRO_SHARED -c ./src/joynu.c -o obj/unix/shared/alleg/joynu.o
In file included from include/allegro.h:83,
                from src/joynu.c:21:
include/allegro/platform/alosx.h:82: error: parse error before "timerdrv_unix_pthreads" include/allegro/platform/alosx.h:82: warning: type defaults to `int' in declaration of `timerdrv_unix_pthreads' include/allegro/platform/alosx.h:82: warning: data definition has no type or storage class include/allegro/platform/alosx.h:86: error: parse error before "keyboard_macosx" include/allegro/platform/alosx.h:86: warning: type defaults to `int' in declaration of `keyboard_macosx' include/allegro/platform/alosx.h:86: warning: data definition has no type or storage class include/allegro/platform/alosx.h:112: error: parse error before "joystick_hid" include/allegro/platform/alosx.h:112: warning: type defaults to `int' in declaration of `joystick_hid' include/allegro/platform/alosx.h:112: warning: data definition has no type or storage class
make: *** [obj/unix/shared/alleg/joynu.o] Error 1





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/