2008/8/1 Nicolas <[EMAIL PROTECTED]>: >>> bash-3.2$ make config >>> Automatic configuration >>> checking size of char... 1\n >>> checking size of short... 2\n >>> checking size of long... 8\n >>> checking size of int... 4\n >>> checking size of void *... 8\n >>> checking size of long long... 8\n > > my linux/config.h > 18 #define LC_SIZEOF_CHAR 1\n > 19 #define LC_SIZEOF_SHORT 2\n > 20 #define LC_SIZEOF_LONG 8\n > 21 #define LC_SIZEOF_INT 4\n > 22 #define LC_SIZEOF_VOID_P 8\n > 23 #define LC_SIZEOF_LONG_LONG 8\n > 24 > 25 typedef signed char lcint8; > 26 typedef unsigned char lcuint8; > 27 #error need to define lcint16 and lcuint16 > 28 #error need to define lcint32 and lcuint32
It seems to be an error in config.mk (but I don't understand the type tests). At line 251 there is a "case 2" line that I suppose should test if short or int is to be used as 16 bit. Since there are 16 and 32 bit types in your system, the easiest way for you is probably just to define the missing types yourself, like: typedef signed short lcint16; typedef unsigned short lcuint16; typedef signed int lcint32; typedef unsigned int lcuint32; The problem might be the ending \n's. I don't think they belong to the defines. I don't get that on my system. Perhaps they disturb config.mk. HTH $ _______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
