I have not cracked open the code, but I see this type of error all the 
time when switching between major revisions of the compilers and/or 
distributions.

Crawl around in rtapi_math.h and make sure that the sys includes it 
grabs actually includes math.h or whatever the chain it takes to define 
log using the specific compiler on 10.04LTS.  Typically I find that once 
I add the include file that was assumed to be there in the other tool 
chain that things just work.

   EBo --

On Dec 11 2012 11:51 PM, Michael Haberler wrote:
> Am 12.12.2012 um 06:57 schrieb Anders Wallin:
>
>> I used log() in a HAL component over here
>> http://pastebin.ca/2291678
>> it seems to compile, install, and work fine on 12.04LTS.
>> I am including <rtapi_math.h>
>>
>> However I got a report that on 10.04LTS comp --install gives an 
>> error:
>> 55: error implicit declaration of function log()
>
> I've been bitten by same thing when building the xeno_math module
> which does math support for Xenomai kernel threads
>
> you might want to look in the source there or the Submakefile; it was
> some subtle difference in include files but I dont remember right now
>
> -m
>
> 
> http://git.mah.priv.at/gitweb/emc2-dev.git/tree/refs/heads/rtos-integration-preview1:/src/rtapi/xeno_math
>
>>
>> any ideas?
>>
>> Anders

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to