All:
I decided to build each package individually and ran into this when I built soltools:
checkdll.c: In function `main':
checkdll.c:116: warning: assignment discards qualifiers from pointer target type
checkdll.c:119: warning: assignment discards qualifiers from pointer target type
checkdll.c:123: warning: initialization makes pointer from integer without a cas
t
checkdll.c:128: warning: assignment from incompatible pointer type
checkdll.c:130: warning: passing arg 1 of `NSAddressOfSymbol' from incompatible
pointer type
Looking at the code it looks like this in srx645m52 starting with line 113:
#ifdef MACOSX
// Check if library is already loaded
pLib = NSAddImage(argv[1], NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED);
if (!pLib) {
// Check DYLD_LIBRARY_PATH
pLib = NSAddImage(argv[1], NSADDIMAGE_OPTION_WITH_SEARCHING);
}
if (pLib) {
// Prefix symbol name with '_'
char *name = malloc(1+strlen(psymbol)+1);
NSSymbol *symbol;
void *address = NULL;
strcpy(name, "_");
strcat(name, psymbol);
symbol = NSLookupSymbolInImage(pLib, name, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND);
free(name);
if (symbol) address = NSAddressOfSymbol(symbol);
Am I missing a patch to correct this problem? This may be causing problems down the build process with udkapi.
Thank you for putting up with my troubles.
James McKenzie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
