You are not logged in.

#1 2008-02-23 08:32:10

bendany
Member
Registered: 2008-01-13
Posts: 11

Help on compilig mars-nwe novell emulator

Hi, I am trying to compile mars-nwe on my archlinux box. But I got following error when compiling mars-nwe

make[1]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/obj'
rm -f Makefile.o
cp ../makefile.unx makefile.c
cc -E -DLINUX -DQTAINSYS -DUSE_GDBM -I.. makefile.c > Makefile.o
rm -f makefile.c
make -f Makefile.o n_all
make[2]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/obj'
Makefile.o:93: *** missing separator.  Stop.
make[2]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/obj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/obj'

The errors are also reported in '/tmp/mars-nwe-0.99.pl20.orig.err'
=============================================================
make: *** [all] Error 1

I know that is the gcc4 problem, I try to install gcc3.3, and get same error.

make[1]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
make -f Makefile.o n_all
make[2]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
Makefile.o:93: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[2]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'

The errors are also reported in '/tmp/mars-nwe-0.99.pl20.orig.err'
=============================================================
make: *** [all] Error 1

since I can compile it from debian woody, I decide to install gcc 2.95 to compile it,

But I got following error:

make[1]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
rm -f Makefile.o
cp ../makefile.unx makefile.c
cc -E -DLINUX -DQTAINSYS -DUSE_GDBM -I.. makefile.c > Makefile.o
rm -f makefile.c
make -f Makefile.o n_all
make[2]: Entering directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
cc -c  -pipe -Wall -D_GNU_SOURCE -DLINUX -DQTAINSYS -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=20 ../nwserv.c
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:320,
                 from ../net.h:29,
                 from ../nwserv.c:21:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
cc -c  -pipe -Wall -D_GNU_SOURCE -DLINUX -DQTAINSYS -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=20 ../emutli.c
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:320,
                 from ../net.h:29,
                 from ../emutli.c:23:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
cc -c  -pipe -Wall -D_GNU_SOURCE -DLINUX -DQTAINSYS -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=20 ../net1.c
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:320,
                 from ../net.h:29,
                 from ../net1.c:20:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
cc -c  -pipe -Wall -D_GNU_SOURCE -DLINUX -DQTAINSYS -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=20 ../tools.c
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:320,
                 from ../net.h:29,
                 from ../tools.c:20:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
cc -c  -pipe -Wall -D_GNU_SOURCE -DLINUX -DQTAINSYS -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=20 ../emutli1.c
../emutli1.c:36: linux/config.h: No such file or directory
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:320,
                 from ../emutli1.c:31:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
../emutli1.c: In function `init_ipx':
../emutli1.c:343: `ipx_config_data' undeclared (first use in this function)
../emutli1.c:343: (Each undeclared identifier is reported only once
../emutli1.c:343: for each function it appears in.)
../emutli1.c:343: parse error before `cfgdata'
../emutli1.c:345: `cfgdata' undeclared (first use in this function)
make[2]: *** [emutli1.o] Error 1
make[2]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj'

I seems the header files are newer and something that gcc 2.95 didn't support.

I am a beginner and I cannot dig any further.

so, What can I do next ?

Last edited by bendany (2008-02-23 09:34:42)

Offline

#2 2008-02-23 16:17:29

raeven
Member
From: the Herts of Crunchy Nut Land
Registered: 2008-02-19
Posts: 31
Website

Re: Help on compilig mars-nwe novell emulator

those are makefile errors, it appears someone edited them with an editor that defaults to spaces
and or replaces tab with spaces,
make indentation is expected to be \t(TAB) spaces are not allowed
you can fix it by

sed -i /home/b-qian/mars/mars-nwe-0.99.pl20.orig/mars-nwe-0.99.pl20.orig/obj/Makefile.o -e "s/^  */\t/g"

as you said, you will need to try and compile this with an older version of gcc 4.2.3 will not compile this
it's full of errors, according to modern gcc and me. try it, it's kinda funny lol

Offline

#3 2008-02-24 11:25:31

bendany
Member
Registered: 2008-01-13
Posts: 11

Re: Help on compilig mars-nwe novell emulator

Thanks raeven, Finally I got it compiled.
But I have another question when I running new program.

My workstation can login as GUEST, but when the SUPERVISOR login , the DOS station dead.
and I can find Administrator process already running inside linux box. that is very strange.
if I didn't kill that process, other client cannot connect to the mars-nwe anymore.

since my client can connect to the old debian woody, so I don't know where the problem is.

Offline

#4 2008-02-26 17:25:51

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: Help on compilig mars-nwe novell emulator

i don't know anythin about this piece of software.
if you send me your build(*.pkg.tar.gz) i will try and help you if you like.
email me: kumico@nrk.cc

Offline

Board footer

Powered by FluxBB