Hi,

When trying to compile todays readonly checkout, I discovered it is
possible to compile with fink instead of macports by just
symlinking /sw/ /usr/local/ (or maybe cleaner to add /sw:q
/lib and /sw/include to the search path?)

However I had a problem with 

scons: Building targets ...
g++ -o build/libs/oscpack/ip/posix/NetworkingUtils.o -c -Wall
-Wno-unknown-pragmas -Wno-long-long -pedantic -pthread -Wno-format
-DTIXML_USE_STL -DOSC_HOST_LITTLE_ENDIAN -DANIMATA_MAJOR_VERSION=0
-DANIMATA_MINOR_VERSION=004 -ggdb2 -O0 -DDEBUG=1 -U__APPLE__
-I/usr/include -Ibuild/libs -Isrc/libs -Ibuild/libs/tinyxml
-Isrc/libs/tinyxml -Ibuild/libs/oscpack -Isrc/libs/oscpack -I/sw/include
-I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11R6/include
src/libs/oscpack/ip/posix/NetworkingUtils.cpp
/usr/include/sys/socket.h:497: error: 'uid_t' does not name a type
/usr/include/sys/socket.h:498: error: 'uid_t' does not name a type
scons: *** [build/libs/oscpack/ip/posix/NetworkingUtils.o] Error 1
scons: building terminated because of errors.



It appears only /usr/include/sys/_types.h was included
but /usr/include/sys/types.h where uid_t was casted was not. I added 


#include <sys/types.h>

in 

./libs/oscpack/ip/posix/NetworkingUtils.cpp 


and then it compiled fine

hope this helps


thanks

Kasper

_______________________________________________
animata-devel mailing list
animata-devel@lists.kitchenbudapest.hu
http://lists.kitchenbudapest.hu/cgi-bin/mailman/listinfo/animata-devel

Reply via email to