Valeriy help me. I'd forgotten "option EXEC_COFF" Including "options EXEC_COFF" config OK make depend OK make NOT OK # link NETBSD_IBCS/netbsd ld -Map netbsd.map --cref -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o exec_conf.o:(.rodata+0x54): undefined reference to `exec_coff_makecmds' *** Error code 1 I'm looking for "exec_coff_makecmds". Attached "wc" program from IUS, as you ask. Thanks Christos. 2010/7/20 Christos Zoulas <christos%astron.com@localhost>: > In article > <AANLkTilKqdmvGJ1Ddq4KSU5UQhjlnIx9-x2ACYsqFMnY%mail.gmail.com@localhost>, > Ricardo Coelho <rjcoelho%gmail.com@localhost> wrote: >>Hi all, >> >>I'm a new NetBSD's user. I'm having problems with IBCS2. >>A long time ago(<1990), I developed applications using IUS, Unify DBMS and C. >>Now I need to retrieve some old informations and run some statistics. >>I did this in 1999 using RedHat 7.? where IBCS was running. It worked >>fine as a module. >>I have backups of everything: IUS, Unify, databases, etc.. >>Searching in Internet, NetBSD seems to be the best solution of my problem. >>So, I installed NetBSD 5.0.2 (arch i386), rebuilding the kernel with >>"option COMPAT_IBCS2". >> >>I retrieve my backups in /ius directory and tried to run a small >>application like "wc". >>NetBSD's "file" program recognize the format of IUS's "wc" file. >>"file /ius/bin/wc" results "COFF 80386". >> >>However, when I'm trying to run "/ius/bin/wc" seems OS tries to >>execute it as a shell script. >> >>What I am doing wrong ? > > Add some debugging in exec_ibcs2_coff_makecmds, or send me the binary > and I will look at it. > > christos > >
Attachment:
wc
Description: Binary data