From: Pradeep S. <ps...@em...> - 2009-11-30 22:05:44
|
Hi, I'm getting the following compile errors trying to build nspr on snow leopard (mac osx 10.6.2). The version (on doing selfupdate) is nspr-4.6.7-2. Can someone pls help ? thx Pradeep prlink.c:183: error: expected specifier-qualifier-list before 'CFragConnectionID' prlink.c: In function '_PR_InitLinker': prlink.c:323: error: 'PRLibrary' has no member named 'dlh' prlink.c: In function 'pr_LoadMachDyldModule': prlink.c:613: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) prlink.c:615: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) prlink.c:621: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) prlink.c:623: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169) prlink.c: In function 'TV2FP': prlink.c:648: warning: cast from pointer to integer of different size prlink.c:649: warning: cast from pointer to integer of different size prlink.c:650: warning: implicit declaration of function 'MakeDataExecutable' prlink.c: In function 'pr_LoadViaCFM': prlink.c:701: warning: implicit declaration of function 'ResolveAliasFile' prlink.c:707: warning: implicit declaration of function 'GetDiskFragment' prlink.c:707: error: 'kCFragGoesToEOF' undeclared (first use in this function) prlink.c:707: error: (Each undeclared identifier is reported only once prlink.c:707: error: for each function it appears in.) prlink.c:707: error: 'FSSpec' has no member named 'name' prlink.c:708: error: 'kLoadCFrag' undeclared (first use in this function) prlink.c:708: error: 'PRLibrary' has no member named 'connection' prlink.c:708: error: 'PRLibrary' has no member named 'main' prlink.c:710: error: 'PRLibrary' has no member named 'connection' prlink.c:716: error: 'PRLibrary' has no member named 'wrappers' prlink.c:719: error: 'PRLibrary' has no member named 'wrappers' prlink.c:720: error: 'PRLibrary' has no member named 'main' prlink.c:720: error: 'PRLibrary' has no member named 'wrappers' prlink.c:720: error: 'PRLibrary' has no member named 'main' prlink.c: In function 'pr_LoadCFBundle': prlink.c:758: error: 'PRLibrary' has no member named 'bundle' prlink.c: In function 'pr_LoadViaDyld': prlink.c:765: error: 'PRLibrary' has no member named 'dlh' prlink.c:766: error: 'PRLibrary' has no member named 'dlh' prlink.c:767: error: 'PRLibrary' has no member named 'image' prlink.c:767: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230) prlink.c:774: error: 'PRLibrary' has no member named 'dlh' prlink.c:774: error: 'PRLibrary' has no member named 'image' prlink.c:775: warning: control reaches end of non-void function prlink.c: In function 'PR_UnloadLibrary': prlink.c:1270: error: 'PRLibrary' has no member named 'dlh' prlink.c:1271: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169) prlink.c:1271: error: 'PRLibrary' has no member named 'dlh' prlink.c:1286: error: 'PRLibrary' has no member named 'connection' prlink.c:1287: warning: implicit declaration of function 'CloseConnection' prlink.c:1287: error: 'PRLibrary' has no member named 'connection' prlink.c:1288: error: 'PRLibrary' has no member named 'bundle' prlink.c:1289: error: 'PRLibrary' has no member named 'bundle' prlink.c:1290: error: 'PRLibrary' has no member named 'wrappers' prlink.c:1291: error: 'PRLibrary' has no member named 'wrappers' prlink.c: In function 'pr_FindSymbolInLib': prlink.c:1386: error: 'PRLibrary' has no member named 'bundle' prlink.c:1389: error: 'PRLibrary' has no member named 'bundle' prlink.c:1393: error: 'PRLibrary' has no member named 'connection' prlink.c:1395: error: 'CFragSymbolClass' undeclared (first use in this function) prlink.c:1395: error: expected ';' before 'symClass' prlink.c:1400: warning: implicit declaration of function 'c2pstrcpy' prlink.c:1402: warning: implicit declaration of function 'FindSymbol' prlink.c:1402: error: 'PRLibrary' has no member named 'connection' prlink.c:1402: error: 'symClass' undeclared (first use in this function) prlink.c:1405: error: 'kTVectorCFragSymbol' undeclared (first use in this function) prlink.c:1406: error: 'PRLibrary' has no member named 'wrappers' prlink.c:1409: error: 'PRLibrary' has no member named 'main' prlink.c:1411: error: 'PRLibrary' has no member named 'image' prlink.c:1413: warning: 'NSLookupSymbolInImage' is deprecated (declared at /usr/include/mach-o/dyld.h:182) prlink.c:1413: error: 'PRLibrary' has no member named 'image' prlink.c:1417: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188) prlink.c:1439: error: 'PRLibrary' has no member named 'dlh' prlink.c:1441: warning: 'NSLookupSymbolInModule' is deprecated (declared at /usr/include/mach-o/dyld.h:181) prlink.c:1441: error: 'PRLibrary' has no member named 'dlh' prlink.c:1443: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188) prlink.c: In function 'PR_LoadStaticLibrary': prlink.c:1593: error: 'PRLibrary' has no member named 'dlh' prlink.c:1593: error: 'PRLibrary' has no member named 'dlh' prlink.c: In function 'PR_GetLibraryFilePathname': prlink.c:1629: warning: assignment discards qualifiers from pointer target type make[3]: *** [prlink.o] Error 1 make[2]: *** [export] Error 2 make[1]: *** [export] Error 2 make: *** [export] Error 2 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-nspr-4.6.7-2 (Reading database ... 6981 files and directories currently installed.) Removing fink-buildlock-nspr-4.6.7-2 ... Failed: phase compiling: nspr-4.6.7-2 failed Before reporting any errors, please run "fink selfupdate" and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink-users or fink-beginners mailing lists, with a carbon copy to the maintainer: Benjamin Reed <ns...@fi...> Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. |