Author Topic: Fatal error in 'make' with ds2.9a13  (Read 2609 times)

Offline brainfrz

  • Acquaintance
  • *
  • Posts: 15
    • View Profile
Fatal error in 'make' with ds2.9a13
« on: January 11, 2009, 09:54:51 pm »
I was trying to install DS2 after switching from TMI-2. I used the zipped download from the downloads page of LPMuds.net. Anyway, when I tried to 'make' after building FluffOS, it hit an almost-fatal error and limped to its death the rest of the way. Here's a log. It's long, but if anyone has any ideas, please help.  ;D

Code: (log.txt) [Select]
Script started on Sun 11 Jan 2009 10:42:11 PM EST
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ ./build.FluffOS
Preparing to build standard MudOS driver ...
Trying out some stuff to see what works; ignore errors ...
./build.FluffOS: 176: gmake: not found
make: Nothing to be done for `nothing'.
Using standard a.out for compiler default executable
./build.FluffOS: 199: xlc: not found
CC: gcc
mkdir: cannot create directory `tmp': File exists
install: invalid option -- f
Try `install --help' for more information.
rm: cannot remove `tmp/insttest': No such file or directory
comptest.y:4 parser name defined to default :"parse"
mkdir: cannot create directory `obj': File exists
***************** Configuration completed **************
Installing MudOS on Linux

Using install -c to install binaries in ../bin.
Using gcc -E  for preprocessing.
Using gcc -D__USE_FIXED_PROTOTYPES__            -O2 to compile.
Using bison -d -y  to make the compiler.
Edit GNUmakefile if this is not what you want

Otherwise, type 'make' to build MudOS, then 'make install'.
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "gcc"' >> cc.h
echo '#define OPTIMIZE "-O2"' >> cc.h
echo '#define CFLAGS   "-D__USE_FIXED_PROTOTYPES__ -O2"' >> cc.h
echo '#define OBJDIR   "obj"' >> cc.h
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/edit_source.o -c edit_source.c
bison -d -y  make_func.y
make_func.y:62 parser name defined to default :"parse"
rm -f make_func.tab.c
mv y.tab.c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/make_func.tab.o -c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ obj/edit_source.o obj/hash.o obj/make_func.tab.o -o edit_source
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
    rm -f configuration; \
    touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
    echo "Skipping configuration ..."; \
else \
    ./edit_source -configure; \
    echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
./edit_source -options -malloc -build_func_spec 'gcc -E -D__USE_FIXED_PROTOTYPES__' \
              -process grammar.y.pre
No "local_options" file present.  If you create one from "options.h",
you can use it when you get a new driver, and you will be warned if there are
changes to the real options.h which you should include in your local file.
Writing build options to option_defs.c ...
Using memory allocation package: sysmalloc.c
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -process packages/Makefile.pre
Creating 'packages/Makefile' from 'packages/Makefile.pre' ...

./edit_source -process packages/GNUmakefile.pre
Creating 'packages/GNUmakefile' from 'packages/GNUmakefile.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.c
touch malloc.c
touch files
make main_build2
make[1]: Entering directory `/home/brainfrz/ds2/driver'
bison -d -y grammar.y
grammar.y:144 parser name defined to default :"parse"
rm -f grammar.tab.*
sed "s/y.tab.c/grammar.tab.c/g" y.tab.c  > grammar.tab.c
mv y.tab.h grammar.tab.h
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/grammar.tab.o -c grammar.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/lex.o -c lex.c
lex.c: In function ‘add_predefines’:
lex.c:2195: warning: left shift count >= width of type
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/malloc.o -c malloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/mallocwrapper.o -c mallocwrapper.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/applies_table.o -c applies_table.c
mv -f driver driver.old
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/grammar.tab.o obj/lex.o obj/main.o obj/rc.o obj/interpret.o obj/simulate.o obj/file.o obj/object.o obj/backend.o obj/array.o obj/mapping.o obj/comm.o obj/ed.o obj/regexp.o obj/buffer.o obj/crc32.o obj/malloc.o obj/mallocwrapper.o obj/class.o obj/efuns_main.o obj/efuns_port.o obj/call_out.o obj/otable.o obj/dumpstat.o obj/stralloc.o obj/hash.o obj/port.o obj/reclaim.o obj/parse.o obj/simul_efun.o obj/sprintf.o obj/program.o obj/compiler.o obj/avltree.o obj/icode.o obj/trees.o obj/generate.o obj/scratchpad.o obj/socket_efuns.o obj/socket_ctrl.o obj/qsort.o obj/eoperators.o obj/socket_err.o obj/md.o obj/disassembler.o obj/uvalarm.o obj/replace_program.o obj/master.o obj/function.o obj/debug.o obj/crypt.o obj/applies_table.o obj/add_action.o obj/eval.o obj/fliconv.o obj/console.o -o driver packages/packages.a  `cat system_libs`
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
    rm -f configuration; \
    touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
    echo "Skipping configuration ..."; \
else \
    ./edit_source -configure; \
    echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/socket_ctrl.o obj/addr_server.o obj/port.o \
-o addr_server `cat system_libs`
make[1]: Leaving directory `/home/brainfrz/ds2/driver'
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ make install
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
    rm -f configuration; \
    touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
    echo "Skipping configuration ..."; \
else \
    ./edit_source -configure; \
    echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
make main_build2
make[1]: Entering directory `/home/brainfrz/ds2/driver'
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
    rm -f configuration; \
    touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
    echo "Skipping configuration ..."; \
else \
    ./edit_source -configure; \
    echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
make[1]: Leaving directory `/home/brainfrz/ds2/driver'
mkdir ../bin
mkdir: cannot create directory `../bin': File exists
make: [install] Error 1 (ignored)
install -c driver ../bin
install -c addr_server ../bin
install -c portbind ../bin
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ exit
exit

Script done on Sun 11 Jan 2009 10:42:52 PM EST

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Fatal error in 'make' with ds2.9a13
« Reply #1 on: January 11, 2009, 09:57:30 pm »
cat UNIX_INSTRUCTIONS.txt

Quote
If you're on Ubuntu, you may need to apt-get bison and libc6.
See: http://dead-souls.net/ds-inst-faq.html#9 for details.

Then perform the following steps:

1) cd to the directory where all mud files reside. Called $MUDHOME
   in the rest of this document.

2) cd to fluffos-2*

3) type ./configure

4) type: make install

5) edit $MUDHOME/bin/mudos.cfg (provided). The two to change are:
mudlib directory and binary directory. For example, if your $MUDHOME
is /home/joe/mud, then the mudlib directory line will look like this:

/home/joe/mud/lib

and bin:

/home/joe/mud/bin

6) edit $MUDHOME/bin/startmud (provided) and change the $MUDHOME
    stuff.

7) manually run the mud $MUDHOME/bin/driver $MUDHOME/bin/mudos.cfg

8)  telnet to your machine, using the port specified in mudos.cfg. For
example: telnet localhost 6666

9) Create a new user. Just answer the questions. Make sure you are
the first person to log in, because that person is automatically
given admin privileges.

10) You'll get booted out. Reboot the MUD, telnet back in, and you're
now running Your Very Own MUD.

11) If you have problems, review the FAQ: http://dead-souls.net/ds-inst-faq.html
12) If this doesn't help, search http://lpmuds.net/forum/ for clues. This procedure works perfectly on SuSE 10 32/64bit, Solaris 10 SPARC/x86, OSX, and various other systems, but I can't possibly vouch for every unix flavor and compiler suite out there. If the compile fails, try the local_options file in extra/

13) If there is something actually wrong or missing in this documentation, please
ask for help on the Dead Souls support forum at http://lpmuds.net/forum/

-Crat

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Fatal error in 'make' with ds2.9a13
« Reply #2 on: January 11, 2009, 10:11:33 pm »
Note:

Since your last compile seems to have actually built object
files and such, in order to redo the process you'll need
to clean out that stuff:

make distclean

-Crat

Offline brainfrz

  • Acquaintance
  • *
  • Posts: 15
    • View Profile
Re: Fatal error in 'make' with ds2.9a13
« Reply #3 on: January 11, 2009, 10:18:24 pm »
OH! I misunderstood and thought they were for using Unix OS and not a Unix shell like a server. My mistake :). Anyway, I reinstalled, but still no dice.  ??? Here's the log:
Code: (log2.txt) [Select]
Script started on Sun 11 Jan 2009 11:05:08 PM EST
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ ./configure
Option selected: ds
Preparing to build standard MudOS driver ...
Trying out some stuff to see what works; ignore errors ...
./build.FluffOS: 176: gmake: not found
make: Nothing to be done for `nothing'.
Using standard a.out for compiler default executable
./build.FluffOS: 199: xlc: not found
CC: gcc
mkdir: cannot create directory `tmp': File exists
install: invalid option -- f
Try `install --help' for more information.
rm: cannot remove `tmp/insttest': No such file or directory
comptest.y:4 parser name defined to default :"parse"
***************** Configuration completed **************
Installing MudOS on Linux

Using install -c to install binaries in ../bin.
Using gcc -E  for preprocessing.
Using gcc -D__USE_FIXED_PROTOTYPES__            -O2 to compile.
Using bison -d -y  to make the compiler.
Edit GNUmakefile if this is not what you want

Otherwise, type 'make' to build MudOS, then 'make install'.
Moving around some DS specific files...
local_options already exists. Not overwriting. Exiting.
If you want to completely start over, type: make distclean
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ make clean install
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "gcc"' >> cc.h
echo '#define OPTIMIZE "-O2"' >> cc.h
echo '#define CFLAGS   "-D__USE_FIXED_PROTOTYPES__ -O2"' >> cc.h
echo '#define OBJDIR   "obj"' >> cc.h
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/edit_source.o -c edit_source.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/hash.o -c hash.c
bison -d -y  make_func.y
make_func.y:62 parser name defined to default :"parse"
rm -f make_func.tab.c
mv y.tab.c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/make_func.tab.o -c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ obj/edit_source.o obj/hash.o obj/make_func.tab.o -o edit_source
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
   rm -f configuration; \
   touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
   echo "Skipping configuration ..."; \
else \
   ./edit_source -configure; \
   echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
./edit_source -options -malloc -build_func_spec 'gcc -E -D__USE_FIXED_PROTOTYPES__' \
             -process grammar.y.pre
Using 'local_options' file ...
Writing build options to option_defs.c ...
Using memory allocation package: sysmalloc.c
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -process packages/Makefile.pre
Creating 'packages/Makefile' from 'packages/Makefile.pre' ...

./edit_source -process packages/GNUmakefile.pre
Creating 'packages/GNUmakefile' from 'packages/GNUmakefile.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.c
touch malloc.c
touch files
make main_build2
make[1]: Entering directory `/home/brainfrz/ds2/driver'
make -C packages 'CC=gcc' 'CFLAGS=-D__USE_FIXED_PROTOTYPES__ -O2' 'OBJDIR=../obj' 'RANLIB=ranlib' 'A=a' 'O=o'
make[2]: Entering directory `/home/brainfrz/ds2/driver/packages'
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/dslib.o -c dslib.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/math.o -c math.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/develop.o -c develop.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/matrix.o -c matrix.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/parser.o -c parser.c
parser.c: In function ‘query_the_short’:
parser.c:1254: warning: comparison between pointer and integer
parser.c: In function ‘make_function’:
parser.c:1901: warning: comparison between pointer and integer
parser.c: In function ‘parallel_check_functions’:
parser.c:2018: warning: comparison between pointer and integer
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/contrib.o -c contrib.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/sockets.o -c sockets.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/mudlib_stats.o -c mudlib_stats.c
ar rcu packages.a ../obj/dslib.o ../obj/math.o ../obj/develop.o ../obj/matrix.o ../obj/parser.o ../obj/contrib.o ../obj/sockets.o ../obj/mudlib_stats.o
ranlib packages.a
make[2]: Leaving directory `/home/brainfrz/ds2/driver/packages'
bison -d -y grammar.y
grammar.y:145 parser name defined to default :"parse"
rm -f grammar.tab.*
sed "s/y.tab.c/grammar.tab.c/g" y.tab.c  > grammar.tab.c
mv y.tab.h grammar.tab.h
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/grammar.tab.o -c grammar.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/lex.o -c lex.c
lex.c: In function ‘add_predefines’:
lex.c:2195: warning: left shift count >= width of type
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/main.o -c main.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/rc.o -c rc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/interpret.o -c interpret.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/simulate.o -c simulate.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/file.o -c file.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/object.o -c object.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/backend.o -c backend.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/array.o -c array.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/mapping.o -c mapping.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/comm.o -c comm.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/ed.o -c ed.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/regexp.o -c regexp.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/buffer.o -c buffer.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/crc32.o -c crc32.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/malloc.o -c malloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/mallocwrapper.o -c mallocwrapper.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/class.o -c class.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/efuns_main.o -c efuns_main.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/efuns_port.o -c efuns_port.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/call_out.o -c call_out.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/otable.o -c otable.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/dumpstat.o -c dumpstat.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/stralloc.o -c stralloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/port.o -c port.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/reclaim.o -c reclaim.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/parse.o -c parse.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/simul_efun.o -c simul_efun.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/sprintf.o -c sprintf.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/program.o -c program.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/compiler.o -c compiler.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/avltree.o -c avltree.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/icode.o -c icode.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/trees.o -c trees.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/generate.o -c generate.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/scratchpad.o -c scratchpad.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_efuns.o -c socket_efuns.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_ctrl.o -c socket_ctrl.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/qsort.o -c qsort.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/eoperators.o -c eoperators.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_err.o -c socket_err.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/md.o -c md.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/disassembler.o -c disassembler.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/uvalarm.o -c uvalarm.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/replace_program.o -c replace_program.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/master.o -c master.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/function.o -c function.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/debug.o -c debug.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/crypt.o -c crypt.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/applies_table.o -c applies_table.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/add_action.o -c add_action.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/eval.o -c eval.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/fliconv.o -c fliconv.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/console.o -c console.c
mv -f driver driver.old
mv: cannot stat `driver': No such file or directory
make[1]: [driver] Error 1 (ignored)
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/grammar.tab.o obj/lex.o obj/main.o obj/rc.o obj/interpret.o obj/simulate.o obj/file.o obj/object.o obj/backend.o obj/array.o obj/mapping.o obj/comm.o obj/ed.o obj/regexp.o obj/buffer.o obj/crc32.o obj/malloc.o obj/mallocwrapper.o obj/class.o obj/efuns_main.o obj/efuns_port.o obj/call_out.o obj/otable.o obj/dumpstat.o obj/stralloc.o obj/hash.o obj/port.o obj/reclaim.o obj/parse.o obj/simul_efun.o obj/sprintf.o obj/program.o obj/compiler.o obj/avltree.o obj/icode.o obj/trees.o obj/generate.o obj/scratchpad.o obj/socket_efuns.o obj/socket_ctrl.o obj/qsort.o obj/eoperators.o obj/socket_err.o obj/md.o obj/disassembler.o obj/uvalarm.o obj/replace_program.o obj/master.o obj/function.o obj/debug.o obj/crypt.o obj/applies_table.o obj/add_action.o obj/eval.o obj/fliconv.o obj/console.o -o driver packages/packages.a  `cat system_libs`
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
   rm -f configuration; \
   touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
   echo "Skipping configuration ..."; \
else \
   ./edit_source -configure; \
   echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Skipping configuration ...
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/addr_server.o -c addr_server.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/socket_ctrl.o obj/addr_server.o obj/port.o \
-o addr_server `cat system_libs`
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/portbind.o -c portbind.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/portbind.o -o portbind `cat system_libs`
make[1]: Leaving directory `/home/brainfrz/ds2/driver'
mkdir ../bin
mkdir: cannot create directory `../bin': File exists
make: [install] Error 1 (ignored)
install -c driver ../bin
install -c addr_server ../bin
install -c portbind ../bin
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ exitmake installexit
exit

Script done on Sun 11 Jan 2009 11:06:52 PM EST


As I was typing this, your post came through, so I redid it again :P Still no dice though :( Log3!! (I'm sorry I'm so clueless about driver issues...  :-[)
Code: (log3.txt) [Select]
Script started on Sun 11 Jan 2009 11:16:18 PM EST
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ ./confgiigure
Option selected: ds
Preparing to build standard MudOS driver ...
Trying out some stuff to see what works; ignore errors ...
./build.FluffOS: 176: gmake: not found
make: Nothing to be done for `nothing'.
Using standard a.out for compiler default executable
./build.FluffOS: 199: xlc: not found
CC: gcc
mkdir: cannot create directory `tmp': File exists
install: invalid option -- f
Try `install --help' for more information.
rm: cannot remove `tmp/insttest': No such file or directory
comptest.y:4 parser name defined to default :"parse"
***************** Configuration completed **************
Installing MudOS on Linux

Using install -c to install binaries in ../bin.
Using gcc -E  for preprocessing.
Using gcc -D__USE_FIXED_PROTOTYPES__            -O2 to compile.
Using bison -d -y  to make the compiler.
Edit GNUmakefile if this is not what you want

Otherwise, type 'make' to build MudOS, then 'make install'.
Moving around some DS specific files...
Copying local_options.ds to local_options
No MinGW config needed.
No Wolfpaw config needed.
./configure: line 105: ulimit: open files: cannot modify limit: Operation not permitted
Configuration script complete.
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "gcc"' >> cc.h
echo '#define OPTIMIZE "-O2"' >> cc.h
echo '#define CFLAGS   "-D__USE_FIXED_PROTOTYPES__ -O2"' >> cc.h
echo '#define OBJDIR   "obj"' >> cc.h
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/edit_source.o -c edit_source.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/hash.o -c hash.c
bison -d -y  make_func.y
make_func.y:62 parser name defined to default :"parse"
rm -f make_func.tab.c
mv y.tab.c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -o obj/make_func.tab.o -c make_func.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ obj/edit_source.o obj/hash.o obj/make_func.tab.o -o edit_source
if test \( ! -r configure.h \) -o \( ! -r configuration \); then \
    rm -f configuration; \
    touch configuration; \
fi
if test "Machine `uname -a` Configure version 5" = "`cat configuration`"; then \
    echo "Skipping configuration ..."; \
else \
    ./edit_source -configure; \
    echo "Machine `uname -a` Configure version 5" > configuration; \
fi
Checking for include file <stdlib.h> ... exists
Checking for include file <unistd.h> ... exists
Checking for include file <time.h> ... exists
Checking for include file <sys/times.h> ... exists
Checking for include file <fcntl.h> ... exists
Checking for include file <sys/time.h> ... exists
Checking for include file <dos.h> ... does not exist
Checking for include file <usclkc.h> ... does not exist
Checking for include file <limits.h> ... exists
Checking for include file <locale.h> ... exists
Checking for include file <netinet/in.h> ... exists
Checking for include file <arpa/inet.h> ... exists
Checking for include file <sys/types.h> ... exists
Checking for include file <sys/ioctl.h> ... exists
Checking for include file <sys/socket.h> ... exists
Checking for include file <netdb.h> ... exists
Checking for include file <arpa/telnet.h> ... exists
Checking for include file <sys/sema.h> ... does not exist
Checking for include file <sys/socketvar.h> ... exists
Checking for include file <socket.h> ... does not exist
Checking for include file <resolve.h> ... does not exist
Checking for include file <sys/stat.h> ... exists
Checking for include file <dirent.h> ... exists
Checking for include file <sys/dirent.h> ... does not exist
Checking for include file <sys/filio.h> ... does not exist
Checking for include file <sys/sockio.h> ... does not exist
Checking for include file <sys/mkdev.h> ... does not exist
Checking for include file <sys/resource.h> ... exists
Checking for include file <sys/rusage.h> ... does not exist
Checking for include file <sys/wait.h> ... exists
Checking for include file <sys/crypt.h> ... does not exist
Checking for include file <crypt.h> ... exists
Checking for include file <my_malloc.h> ... does not exist
Checking for include file <mach/mach.h> ... does not exist
Checking for include file <mach.h> ... does not exist
Checking for include file <sys/sysmacros.h> ... exists
Checking for include file <dlfcn.h> ... exists
Checking for missing INADDR_NONE ... ok
Checking for random number generator ... using drand48()
Using BSD signals.
Checking if signal() returns SIG_ERR on error ... yes
Not Checking for inline ...(usage in driver code all broken anyway) const ...
Checking for strerror() ... exists
Checking for POSIX getcwd() ... exists
Checking for getrusage() ... exists
Checking for times() ... exists
Checking for gettimeofday() ... exists
Checking for fchmod() ... exists
Checking for big or little endian ... little
Checking for memmove() ... exists
Checking for library -lresolv ... exists
Checking for library -lbsd ... does not exist
Checking for library -lBSD ... does not exist
Checking for library -ly ... does not exist
Checking for library -lcrypt ... exists
Checking for library -lsocket ... does not exist
Checking for library -linet ... does not exist
Checking for library -lnsl ... exists
Checking for library -lnsl_s ... does not exist
Checking for library -lseq ... does not exist
Checking for library -lm ... exists
Checking for flaky Linux systems ...

./edit_source -options -malloc -build_func_spec 'gcc -E -D__USE_FIXED_PROTOTYPES__' \
              -process grammar.y.pre
Using 'local_options' file ...
Writing build options to option_defs.c ...
Using memory allocation package: sysmalloc.c
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -process packages/Makefile.pre
Creating 'packages/Makefile' from 'packages/Makefile.pre' ...

./edit_source -process packages/GNUmakefile.pre
Creating 'packages/GNUmakefile' from 'packages/GNUmakefile.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.c
touch malloc.c
touch files
make main_build2
make[1]: Entering directory `/home/brainfrz/ds2/driver'
make -C packages 'CC=gcc' 'CFLAGS=-D__USE_FIXED_PROTOTYPES__ -O2' 'OBJDIR=../obj' 'RANLIB=ranlib' 'A=a' 'O=o'
make[2]: Entering directory `/home/brainfrz/ds2/driver/packages'
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/dslib.o -c dslib.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/math.o -c math.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/develop.o -c develop.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/matrix.o -c matrix.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/parser.o -c parser.c
parser.c: In function ‘query_the_short’:
parser.c:1254: warning: comparison between pointer and integer
parser.c: In function ‘make_function’:
parser.c:1901: warning: comparison between pointer and integer
parser.c: In function ‘parallel_check_functions’:
parser.c:2018: warning: comparison between pointer and integer
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/contrib.o -c contrib.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/sockets.o -c sockets.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -O2 -o ../obj/mudlib_stats.o -c mudlib_stats.c
ar rcu packages.a ../obj/dslib.o ../obj/math.o ../obj/develop.o ../obj/matrix.o ../obj/parser.o ../obj/contrib.o ../obj/sockets.o ../obj/mudlib_stats.o
ranlib packages.a
make[2]: Leaving directory `/home/brainfrz/ds2/driver/packages'
bison -d -y grammar.y
grammar.y:145 parser name defined to default :"parse"
rm -f grammar.tab.*
sed "s/y.tab.c/grammar.tab.c/g" y.tab.c  > grammar.tab.c
mv y.tab.h grammar.tab.h
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/grammar.tab.o -c grammar.tab.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/lex.o -c lex.c
lex.c: In function ‘add_predefines’:
lex.c:2195: warning: left shift count >= width of type
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/main.o -c main.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/rc.o -c rc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/interpret.o -c interpret.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/simulate.o -c simulate.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/file.o -c file.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/object.o -c object.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/backend.o -c backend.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/array.o -c array.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/mapping.o -c mapping.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/comm.o -c comm.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/ed.o -c ed.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/regexp.o -c regexp.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/buffer.o -c buffer.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/crc32.o -c crc32.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/malloc.o -c malloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/mallocwrapper.o -c mallocwrapper.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/class.o -c class.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/efuns_main.o -c efuns_main.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/efuns_port.o -c efuns_port.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/call_out.o -c call_out.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/otable.o -c otable.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/dumpstat.o -c dumpstat.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/stralloc.o -c stralloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/port.o -c port.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/reclaim.o -c reclaim.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/parse.o -c parse.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/simul_efun.o -c simul_efun.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/sprintf.o -c sprintf.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/program.o -c program.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/compiler.o -c compiler.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/avltree.o -c avltree.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/icode.o -c icode.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/trees.o -c trees.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/generate.o -c generate.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/scratchpad.o -c scratchpad.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_efuns.o -c socket_efuns.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_ctrl.o -c socket_ctrl.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/qsort.o -c qsort.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/eoperators.o -c eoperators.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/socket_err.o -c socket_err.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/md.o -c md.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/disassembler.o -c disassembler.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/uvalarm.o -c uvalarm.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/replace_program.o -c replace_program.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/master.o -c master.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/function.o -c function.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/debug.o -c debug.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/crypt.o -c crypt.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/applies_table.o -c applies_table.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/add_action.o -c add_action.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/eval.o -c eval.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/fliconv.o -c fliconv.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/console.o -c console.c
mv -f driver driver.old
mv: cannot stat `driver': No such file or directory
make[1]: [driver] Error 1 (ignored)
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/grammar.tab.o obj/lex.o obj/main.o obj/rc.o obj/interpret.o obj/simulate.o obj/file.o obj/object.o obj/backend.o obj/array.o obj/mapping.o obj/comm.o obj/ed.o obj/regexp.o obj/buffer.o obj/crc32.o obj/malloc.o obj/mallocwrapper.o obj/class.o obj/efuns_main.o obj/efuns_port.o obj/call_out.o obj/otable.o obj/dumpstat.o obj/stralloc.o obj/hash.o obj/port.o obj/reclaim.o obj/parse.o obj/simul_efun.o obj/sprintf.o obj/program.o obj/compiler.o obj/avltree.o obj/icode.o obj/trees.o obj/generate.o obj/scratchpad.o obj/socket_efuns.o obj/socket_ctrl.o obj/qsort.o obj/eoperators.o obj/socket_err.o obj/md.o obj/disassembler.o obj/uvalarm.o obj/replace_program.o obj/master.o obj/function.o obj/debug.o obj/crypt.o obj/applies_table.o obj/add_action.o obj/eval.o obj/fliconv.o obj/console.o -o driver packages/packages.a  `cat system_libs`
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/addr_server.o -c addr_server.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/socket_ctrl.o obj/addr_server.o obj/port.o \
-o addr_server `cat system_libs`
gcc -D__USE_FIXED_PROTOTYPES__ -O2 -o obj/portbind.o -c portbind.c
gcc -D__USE_FIXED_PROTOTYPES__ -O2 obj/portbind.o -o portbind `cat system_libs`
make[1]: Leaving directory `/home/brainfrz/ds2/driver'
]0;brainfrz@linux: ~/ds2/driverbrainfrz@linux:~/ds2/driver$ exit
exit

Script done on Sun 11 Jan 2009 11:17:53 PM EST

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Fatal error in 'make' with ds2.9a13
« Reply #4 on: January 11, 2009, 10:22:54 pm »
Quote
Still no dice though

Are you sure there is no "driver" file in that directory
when the compile finishes? Please do:

ls -l driver

ls -l ../bin

-Crat

EDIT: For those left wondering, it appears the process did indeed
work fine when the instructions were followed.
« Last Edit: January 11, 2009, 10:36:36 pm by cratylus »