[Pxlib-devel] Problems compiling pxlib on OS X
Brought to you by:
steinm
From: Robert C. <no...@gm...> - 2011-03-31 21:03:08
|
Hi all I'm having trouble compiling pxlib-0.6.3 on Mac OS X Snow Leopard :( any help would be much appreciated! $ make make all-recursive Making all in include make[2]: Nothing to be done for `all'. Making all in src if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include -DPACKAGE_LOCALE_DIR=\""/opt/local/share/locale"\" -g -O2 -MT paradox.lo -MD -MP -MF ".deps/paradox.Tpo" -c -o paradox.lo paradox.c; \ then mv -f ".deps/paradox.Tpo" ".deps/paradox.Plo"; else rm -f ".deps/paradox.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include -DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\" -g -O2 -MT paradox.lo -MD -MP -MF .deps/paradox.Tpo -c paradox.c -fno-common -DPIC -o .libs/paradox.o paradox.c: In function 'PX_pack': paradox.c:2497: warning: format '%X' expects type 'unsigned int', but argument 3 has type 'long int' paradox.c:2497: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long int' paradox.c: In function 'PX_delete': paradox.c:2582: warning: cast from pointer to integer of different size paradox.c:2584: warning: cast from pointer to integer of different size paradox.c: In function 'PX_get_data_bcd': paradox.c:3621: warning: assignment makes pointer from integer without a cast paradox.c:3623: error: dereferencing pointer to incomplete type paradox.c: In function 'PX_put_data_bcd': paradox.c:3999: warning: assignment makes pointer from integer without a cast paradox.c:4001: error: dereferencing pointer to incomplete type make[2]: *** [paradox.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 $ ./libtool --version ltmain.sh (GNU libtool) 1.5.24 Debian 1.5.24-1 (1.1220.2.456 2007/06/24 02:25:32) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ ./libtool.bak --version ltmain.sh (GNU libtool) 1.5.24 Debian 1.5.24-1 (1.1220.2.456 2007/06/24 02:25:32) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ libtool -V Apple Computer, Inc. version cctools-773 I have no idea what "dereferencing pointer to incomplete type" means, so even if you could just spare some time to point me in the right direction that would be amazing :) Thanks Robert Cambridge |