Re: [Plib-users] Compiling issues on MacOS X 10.5
Brought to you by:
sjbaker
From: Fay J. F Dr C. U. 46 S. <joh...@eg...> - 2008-07-16 18:18:33
|
Fabio, I'm pretty sure the messages are harmless. The "js" and "pw" libraries are designed to build and run on many different operating systems, and the systems are so different that the code for each operating system goes into its own ".cxx" file. So, for example, "jsWindows.cxx" will have the "js" code to run on Windows and the "jsLinux.cxx" file will have the "js" code to run the same things on Linux. As long as one of your "js" files has built and has defined symbols (and I see you didn't get a warning for "jsMacOSX.o") you should be in good shape. The same holds true for "pw". John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Fabio Ruini Sent: Wednesday, July 16, 2008 12:52 PM To: PLIB Users Subject: Re: [Plib-users] Compiling issues on MacOS X 10.5 Hello all, first of all thank you very much for your answers. I've tried to modify SSGLoadFLT.cxx changing line 185 with the following: #if defined(WIN32) || defined(__APPLE__) Now the compiling process works, even after a while I get this messages: rm -f libplibjs.a ar cru libplibjs.a js.o jsLinux.o jsLinuxOld.o jsMacOS.o jsMacOSX.o jsWindows.o jsBSD.o jsNone.o ranlib: file: libplibjs.a(jsLinux.o) has no symbols ranlib: file: libplibjs.a(jsLinuxOld.o) has no symbols ranlib: file: libplibjs.a(jsMacOS.o) has no symbols ranlib: file: libplibjs.a(jsWindows.o) has no symbols ranlib: file: libplibjs.a(jsBSD.o) has no symbols ranlib: file: libplibjs.a(jsNone.o) has no symbols ranlib libplibjs.a ranlib: file: libplibjs.a(jsLinux.o) has no symbols ranlib: file: libplibjs.a(jsLinuxOld.o) has no symbols ranlib: file: libplibjs.a(jsMacOS.o) has no symbols ranlib: file: libplibjs.a(jsWindows.o) has no symbols ranlib: file: libplibjs.a(jsBSD.o) has no symbols ranlib: file: libplibjs.a(jsNone.o) has no symbols Furthermore, when the compiling reaches the end I get this other messages (a part from a lot of warnings): rm -f libplibpw.a ar cru libplibpw.a pw.o pwX11.o pwWindows.o pwMacOSX.o ranlib: file: libplibpw.a(pw.o) has no symbols ranlib: file: libplibpw.a(pwX11.o) has no symbols ranlib: file: libplibpw.a(pwWindows.o) has no symbols ranlib libplibpw.a ranlib: file: libplibpw.a(pw.o) has no symbols ranlib: file: libplibpw.a(pwX11.o) has no symbols ranlib: file: libplibpw.a(pwWindows.o) has no symbols make[2]: Nothing to be done for `all-am'. make[1]: Nothing to be done for `all-am'. The library seems to be created (I can find libplibpw.a within the pw subfolder, weighting only 48kb), but it isn't copied to the proper folder (which, if I'm not wrong, should be /usr/local/lib) when I do the make install. I'm not expert about compiling libraries, but the messages returned by the make don't sound so good to me... Cheers, Fabio On 16 Jul 2008, at 18:09, Stuart McDonald wrote: > Never tried this, but as you can see from the error the problem is it > doesn't know what a uint is. > > It's typedef'ed to unsigned int in the ssgLoadFLT source, but with an > ifdef UL_WIN32. > > Just take out the #ifdef will make it work for you. No idea if > that's a > proper fix i.e. would work on every platform. > > Cheers, > > Stuart. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |