Re: [Plib-users] can't link on OS X or compile examples
Brought to you by:
sjbaker
From: Kevin W. <wa...@co...> - 2005-05-18 01:17:23
|
I searched through the archives and found the solution -- I some how missed it before. create a soft link in the /usr/include/gcc/darwin/3.3/c++ directory pointing to the /usr/include/plib/-directory. That seems to work like a charm, but it bugs me that I have to do it in the first place! Maybe there is a way to modify the ul.h file or modify the make install command (which I also don't like) to do the soft link automatically. On May 17, 2005, at 5:21 PM, Kevin Walchko wrote: > Okay, since I mentioned the examples (which currently don't > compile for me due to the same reason), when I run configure I get > the following warning: > > checking plib/ul.h presence... yes > configure: WARNING: plib/ul.h: present but cannot be compiled > configure: WARNING: plib/ul.h: check for missing prerequisite > headers? > configure: WARNING: plib/ul.h: see the Autoconf documentation > configure: WARNING: plib/ul.h: section "Present But Cannot Be > Compiled" > configure: WARNING: plib/ul.h: proceeding with the preprocessor's > result > configure: WARNING: plib/ul.h: in the future, the compiler will > take precedence > configure: WARNING: ## > ------------------------------------------ ## > configure: WARNING: ## Report this to the AC_PACKAGE_NAME > lists. ## > configure: WARNING: ## > ------------------------------------------ ## > checking for plib/ul.h... yes > > What does this mean? > > On May 17, 2005, at 4:48 PM, Kevin Walchko wrote: > > >> Yes, there is much discussion, but I did not find a solution -- >> maybe I missed it. I also have the problem from the command line >> using make when I try to compile the examples, so it has to do >> with gcc/make and not XCode (which was my original assumption). >> >> >> On May 17, 2005, at 6:27 PM, Steve Baker wrote: >> >> >> >>> Kevin Walchko wrote: >>> >>> >>> >>>> Okay, I have looked around on the internet and it seems to be >>>> more of a gcc problem than a Mac OS X problem. For some reason, >>>> the compiler is trying to process the file (ul.h) as an extern >>>> "C" file rather than a c++ file. I can't seem to make XCode >>>> stop doing this. >>>> >>>> >>>> >>> >>> I thought we'd already discussed this - you might want to check >>> the archives. >>> (Possibly the 'plib-devel' archives rather than 'plib-users'). >>> >>> ---------------------------- Steve Baker ------------------------- >>> HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> >>> HomePage : http://www.sjbaker.org >>> Projects : http://plib.sf.net http://tuxaqfh.sf.net >>> http://tuxkart.sf.net http://prettypoly.sf.net >>> -----BEGIN GEEK CODE BLOCK----- >>> GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- ! >>> O M- >>> V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r++ >>> + y++++ >>> -----END GEEK CODE BLOCK----- >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by Oracle Space Sweepstakes >>> Want to be the first software developer in space? >>> Enter now for the Oracle Space Sweepstakes! >>> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>> _______________________________________________ >>> plib-users mailing list >>> pli...@li... >>> https://lists.sourceforge.net/lists/listinfo/plib-users >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Oracle Space Sweepstakes >> Want to be the first software developer in space? >> Enter now for the Oracle Space Sweepstakes! >> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >> _______________________________________________ >> plib-users mailing list >> pli...@li... >> https://lists.sourceforge.net/lists/listinfo/plib-users >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |