Compilation errors

Lally Singh lally.singh at
Thu Oct 23 04:51:57 CEST 2008

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

  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib/ecore
-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
2) where to fix it

Thanks in advance,


PS: My experience on doing this is being documented on the wiki under /Solaris.

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

More information about the community mailing list