[lug] EQLPLUS

Javier Govea jgovea at magma.ca
Sat Jun 14 13:37:29 MDT 2003


Hi to all,

I hope somebody in here can help me out. I'm trying to set up EQLPLUS on my linux box (red
hat 8 with kernel 2.4.20-8). Following instructions from
http://www.cwareco.com/download/eqlplus.html i'm trying to compile eqlplus suing the
makefile provided, but i'm getting the following error:

----------------------------------------------------------------------------------
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program.
BAD!
In file included from /usr/include/linux/if_eql.h:22,
                 from eql-1.2/eql_enslave.c:30:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:47: parse error before '*' token
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:103: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:107: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:107: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:108: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:123: dereferencing pointer to incomplete type
In file included from eql-1.2/eql_enslave.c:30:
/usr/include/linux/if_eql.h: At top level:
/usr/include/linux/if_eql.h:60: field `timer' has incomplete type
make: *** [eql-1.2/eql_enslave] Error 1
-------------------------------------------------------------------------------

There is a note on the file eql_enslave.c saying the following:

-------------------------------------------------------------------------------
/*
 * NOTE: Kernel 2.4.19 is broken - 
 * time.h conflicts with timer.h
 * we need timer.h in if_eql.h
 * workaround is to prevent time.h from being
 * included in stdlib.h via sys/types.h
 */
---------------------------------------------------------------------------

So, it seems that my problem is a conflict between timer.h and time.h.....any ideas,
suggestions, or tips on how to fix it???????????

thanx...
X



More information about the LUG mailing list