[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iiBCS Emulator Modules for Linux



 halla all,

when I try to compile iBCS, i become compiling error this error it not
normal because it said that the most of the /usr/include/linux/*.h has
syntax..,

for example:

 c39a:/usr/src/modules/ibcs-2.2/iBCSemul# make
gcc -D__KERNEL__ -DMODULE -D__NO_VERSION__ -I../include -I/include -Wall -Ws
trict-prototypes -O2 -fomit-frame-pointer -m486 -DSOCKSYS_MAJOR=30  -DEMU_SC
O -DEMU_ISC -DEMU_SVR4 -DEMU_BSD -DEMU_WYSE -DEMU_WYSEMP -DEMU_SPX -DEMU_XTI
 -DEMU_TLI_OPTMGMT -DEMU_BINFMT_AOUT -DEMU_BINFMT_COFF -DEMU_BINFMT_XOUT -DE
MU_BINFMT_OLDSCRIPT -DIBCS_TRACE -DVERBOSE_ERRORS -DCOFF_TRACE -DELF_TRACE -
DXOUT_DEBUG   -c emulate.c
In file included from /usr/include/linux/sched.h:13,
                 from /usr/include/asm/uaccess.h:8,
                 from emulate.c:36:
/usr/include/linux/times.h:5: parse error before `clock_t'
/usr/include/linux/times.h:5: warning: no semicolon at end of struct or
union
/usr/include/linux/times.h:6: warning: data definition has no type or
storage class
/usr/include/linux/times.h:7: parse error before `tms_cutime'
/usr/include/linux/times.h:7: warning: data definition has no type or
storage class
/usr/include/linux/times.h:8: parse error before `tms_cstime'
/usr/include/linux/times.h:8: warning: data definition has no type or
storage class
In file included from /usr/include/linux/timex.h:142,
                 from /usr/include/linux/sched.h:14,
                 from /usr/include/asm/uaccess.h:8,
                 from emulate.c:36:
/usr/include/linux/time.h:10: parse error before `time_t'
/usr/include/linux/time.h:10: warning: no semicolon at end of struct or
union
/usr/include/linux/time.h:12: parse error before `}'
/usr/include/linux/time.h: In function `timespec_to_jiffies':
/usr/include/linux/time.h:32: dereferencing pointer to incomplete type
/usr/include/linux/time.h:33: dereferencing pointer to incomplete type
/usr/include/linux/time.h: In function `jiffies_to_timespec':
/usr/include/linux/time.h:45: dereferencing pointer to incomplete type
/usr/include/linux/time.h:46: dereferencing pointer to incomplete type
/usr/include/linux/time.h: At top level:

-----------------

If somebody have an idea please contact me or if you know another emulator
for linux to non-linux binary.


Amir



Reply to: