Compilation errors

Lally Singh lally.singh at
Thu Oct 23 07:35:27 CEST 2008

On Thu, Oct 23, 2008 at 1:20 AM, Charles-Henri Gros
<charles-henri.gros+openmoko at> wrote:
> Lally Singh wrote:
>> Hey folks,
>>    I'm working on getting the entire OM stack to build under
>> OpenSolaris (under an LX zone), and am having a problem.  I'm using
>> Mokomakefile.
>> Specifically:
>>   gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib/ecore
>> -I../../../src/lib/ecore
>> -isystem/home/moko/build/tmp/staging/i686-linux/usr/include
>> -isystem/home/moko/build/tmp/staging/i686-linux/usr/include -Os -MT
>> ecore_fb_li.lo -MD -MP -MF .deps/ecore_fb_li.Tpo -c ecore_fb_li.c
>> -fPIC -DPIC -o .libs/ecore_fb_li.o
>> | ecore_fb_li.c: In function `ecore_fb_input_device_open':
>> | ecore_fb_li.c:402: `EV_SYN' undeclared (first use in this function)
>> | ecore_fb_li.c:402: (Each undeclared identifier is reported only once
>> | ecore_fb_li.c:402: for each function it appears in.)
>> | ecore_fb_li.c:422: `EV_FF_STATUS' undeclared (first use in this function)
>> | ecore_fb_li.c:423: `EV_PWR' undeclared (first use in this function)
>> | ecore_fb_li.c: In function `ecore_fb_input_device_axis_size_set':
>> | ecore_fb_li.c:471: storage size of `abs_features' isn't known
>> The symbols are defined in linux/input.h, but it looks like the "-i"
>> should be a "-I".  Anyone know:
>> 1) if this is the problem
> It's not; the option is "-isystem" and it appears to be used correctly.

Thanks.  Turns out the problem is that the
build/tmp/staging/i686-linux/usr/include directory needs a copy of the
linux headers underneath.

H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech

More information about the community mailing list