Ah - I see what needs to be done.  I need to point configure to our cross 
compile tools and not the native system.  Not a straightforward thing to do in 
open embedded's bitbake-based build environment.  It automates the whole thing 
from grabbing the tarball from the ftp site to compiling and then staging the 
resulting output to the correct target rootfs tree.  I'll have to override the 
defaults being passed to configure.

Thanks for your help,
Dick

-----Original Message-----
From: Albert Chu [mailto:[email protected]] 
Sent: Wednesday, July 07, 2010 11:46 AM
To: Detweiler, Dick [NETPWR/AVOCENT/AL]
Cc: [email protected]
Subject: RE: [Freeipmi-devel] configure: warning while processing for powerpc / 
Open embedded target

Hey Dick,

Autoconf would define sys/io.h if it found it.  So it must have found
sys/io.h and asm/io.h?

Al

On Wed, 2010-07-07 at 07:40 -0700, [email protected] wrote:
> I'm going to be lazy here...
> 
> Our cross-compile environment has io.h in asm/io.h.  However, something must 
> be defining HAVE_SYS_IO_H because that's what ipmi-kcs-driver.c ends up 
> trying to include.  Where are HAVE_[SYS/ASM]_IO_H determined and is there 
> something I can do for a quick and dirty fix?
> 
> Thanks again,
> Dick
> 
> -----Original Message-----
> From: Albert Chu [mailto:[email protected]] 
> Sent: Tuesday, July 06, 2010 5:53 PM
> To: Detweiler, Dick [NETPWR/AVOCENT/AL]
> Cc: [email protected]
> Subject: Re: [Freeipmi-devel] configure: warning while processing for powerpc 
> / Open embedded target
> 
> Hey Dick,
> 
> Personally, I've never seen this before.  I don't use bitbake so I don't
> know much about it.  But from the output, I'd guess that your bitmake
> build environment is missing some headers.  I think what it's saying is
> if you have:
> 
> /usr/include/example.h
> 
> #include <foo.h>
> 
> mycode.c:
> 
> #include <example.h>
> 
> autoconf is only checking for example.h, but because foo.h doesn't
> exist, it can't compile.  Just a guess, hope it helps.
> 
> Al
> 
> On Tue, 2010-07-06 at 11:22 -0700, [email protected] wrote:
> > Hi all,
> > 
> >  
> > 
> > Running configure via bitbake and autoconf tool sets.  They generated
> > the following warning:
> > 
> >  
> > 
> > configure: WARNING: sys/io.h: present but cannot be compiled
> > 
> > configure: WARNING: sys/io.h:     check for missing prerequisite
> > headers?
> > 
> > configure: WARNING: sys/io.h: see the Autoconf documentation
> > 
> > configure: WARNING: sys/io.h:     section "Present But Cannot Be
> > Compiled"
> > 
> > configure: WARNING: sys/io.h: proceeding with the preprocessor's
> > result
> > 
> > configure: WARNING: sys/io.h: in the future, the compiler will take
> > precedence
> > 
> > configure: WARNING:     ## ------------------------------------- ##
> > 
> > configure: WARNING:     ## Report this to [email protected] ##
> > 
> > configure: WARNING:     ## ------------------------------------- ##
> > 
> >  
> > 
> > So I’ve now reported.  What is the implication to this warning?
> > 
> >  
> > 
> > Thanks,
> > 
> >  
> > 
> > Dick Detweiler |Senior Software Engineer, MSD | Avocent | USA
> > 
> > Emerson Network Power | 4991 Corporate Drive | Huntsville, AL
> > 35805-6201
> > 
> > T 256.261.6550 | F 256.430.4027
> > 
> > www.**avocent.com
> > 
> > www.**emersonnetworkpower.com
> > 
> >  
> > 
> > 
-- 
Albert Chu
[email protected]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

_______________________________________________
Freeipmi-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to