Author Topic: Setting up DS2.x - C-compiler not found  (Read 5122 times)

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Setting up DS2.x - C-compiler not found
« on: May 20, 2007, 03:58:37 pm »
I've a freshly installed Debian 4.0 (Etch) server here, but upon the very first
./configure the script doesn't seem to be able to find a couple of things,
although I have them installed using apt-get install gcc-2.95 (and 4.0).

Here's the output:
Code: [Select]
MeanMachine:/ds2.4.2/v22.2b14-dsouls2# ./configure
Preparing to build developmental version of MudOS driver ...
Trying out some stuff to see what works; ignore errors ...
./build.MudOS: line 145: gmake: command not found
make: Nothing to be done for `nothing'.
./build.MudOS: line 184: xlc: command not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
./build.MudOS: line 200: clcc: command not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
FATAL ERROR: Cannot find a C compiler
No Wolfpaw config needed.
MeanMachine:/ds2.4.2/v22.2b14-dsouls2#

What do I miss?

Code: [Select]
MeanMachine:/ds2.4.2/v22.2b14-dsouls2# apt-get install gmake
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package gmake
MeanMachine:/ds2.4.2/v22.2b14-dsouls2# apt-cache search gmake
cfgstoragemaker - MRTG config generator for storage monitoring via SNMP
MeanMachine:/ds2.4.2/v22.2b14-dsouls2#
  ???
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Setting up DS2.x - C-compiler not found
« Reply #1 on: May 20, 2007, 06:46:50 pm »
According to the hits on this search:

http://www.google.com/search?hl=en&q=%2Fusr%2Fbin%2Fld%3A+crt1.o%3A+No+such+file%3A+No+such+file+or+directory&btnG=Google+Search

you're missing libs and stuff that gcc counts on. I'd poke through those hits and
see if anything useful kicks up.

-Crat

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #2 on: May 21, 2007, 04:33:24 am »
Could it be that according to this url
http://en.wikibooks.org/wiki/Ada_Programming/Installing#Debian_.28GNU.2FLinux_and_GNU.2FkFreeBSD.29

MudOS is not that happy with having a GCC 4.+ compiler in stead of the one I used to have with Sarge
(Debian 3.1 uses GCC 3.3.5) ?

Are there restrictions/requirements on what GNU Compiler Collection MudOS is supposed to compile fine?
Couldn't find any requirements on the www.mudos.org site.
« Last Edit: May 21, 2007, 05:15:02 am by Atomic »
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Setting up DS2.x - C-compiler not found
« Reply #3 on: May 21, 2007, 06:43:14 am »
The hits on the search I provided indicate that you are missing dev libraries.

It is not about the compiler itself.

That is a misleading error message.

You are missing libraries.

-Crat

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #4 on: May 21, 2007, 07:29:17 am »
Ok, I will try to find out if I can apply the libraries in some way.
Thought that the compiler-packages would install their own dependencies...

http://packages.debian.org/unstable/net/xlc is another compiler
and clcc is a Solaris centerline compiler, so why would it need 3 (or more) compilers?
Probably only one is necessary and it's just that it can't find any of those.
I kind of hoped only making gcc work would be sufficient. Also I'm not quite figuring
out why my 'gmake' command is not recognised, perhaps it misses some symbolic
links to 'make'
I'll update this thread tonight when I have time again to sort things out.

Trying this package later:
Code: [Select]
Make sure you have all the neccesary development tools (i.e. libraries, compilers, headers)

sudo aptitude install build-essential
sudo aptitude install linux-headers-`uname -r`
...taken from an Ubuntu document, but it seems a 'build-essential' package would include a lot more if
it comes to libraries and compilers.

http://packages.debian.org/stable/devel/build-essential
Code: [Select]
dpkg-dev (>= 1.13.5)
package building tools for Debian

 g++ (>= 4:4.1.1)
The GNU C++ compiler

 gcc (>= 4:4.1.1)
The GNU C compiler

 libc6-dev [not alpha, ia64]
GNU C Library: Development Libraries and Header Files
or libc-dev
Virtual package

 libc6-dev-sparc64 [sparc]
GNU C Library: 64bit Development Libraries for UltraSPARC

 libc6.1-dev [alpha, ia64]
GNU C Library: Development Libraries and Header Files
or libc-dev
Virtual package

 make
The GNU version of the "make" utility.
« Last Edit: May 21, 2007, 07:50:41 am by Atomic »
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #5 on: May 21, 2007, 11:32:32 am »
Ok, I give up, installed lots of libraries, compilers, the whole brady bunch.

the ./configure script of MudOS and the makefile just bent over and puked doubletime.
What a waste of time.
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Setting up DS2.x - C-compiler not found
« Reply #6 on: May 21, 2007, 11:43:51 am »
Can you compile other things?

See if you can compile DGD or LDmud.

http://www.bearnip.com/lars/proj/ldmud.html
http://www.dworkin.nl/dgd/

I can see you're frustrated, but it's not that unusual to run into
library problems when compiling for the first time on a newly installed distro.
(Not for me anyway!)

Whatever the problem is you're having compiling MudOS is
something you'll probably eventually have to deal with for
some other source code.

If you've already made 100% sure that the issue is not addressed
in the install troubleshooting page ( http://dead-souls.net/ds-inst-faq.html#9 )
you might want to seek the help of folks on your distro's support forums.

-Crat

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #7 on: May 21, 2007, 12:25:34 pm »
Gcc doesn't seem to be the problem (anymore), because that (including a bunch of libraries)
was installed using apt-get install build-essential. It was the ./configure script freaking out
Installed Bison and if I'm correct also Yacc, because those seem to be needed as well.

Quite funny, this stuff you pointed me at from the FAQ seems to have done the trick:
Code: [Select]
If you get this: "make: *** No rule to make target `obj/malloc.o', needed by `driver'.  Stop.", just type "make" again, or "make -j 1"

So I tried make -j 1 and that created a 'workable' driver so far.
Now let's see if I run into any errors actually navigating through DS2.


I'll post the warnings/errors that are left, after I'm done reinstalling stuff, because I probably broke
a whole bunch of packages by trying different stuff.
« Last Edit: May 21, 2007, 12:29:45 pm by Atomic »
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #8 on: May 21, 2007, 02:34:29 pm »
ok, don't get scared:
(I've missed the first part of the making-process due to buffer-size)
Code: [Select]
Checking for include file <stdlib.h> ... exists
Checking for include file <unistd.h> ... exists
Checking for include file <time.h> ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for include file <sys/times.h> ... exists
Checking for include file <fcntl.h> ... exists
Checking for include file <sys/time.h> ... exists
comptest.c:4:17: error: dos.h: No such file or directory
Checking for include file <dos.h> ... does not exist
comptest.c:4:20: error: usclkc.h: No such file or directory
Checking for include file <usclkc.h> ... does not exist
Checking for include file <limits.h> ... exists
Checking for include file <locale.h> ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
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
comptest.c:4:22: error: sys/sema.h: No such file or directory
Checking for include file <sys/sema.h> ... does not exist
Checking for include file <sys/socketvar.h> ... exists
comptest.c:4:20: error: socket.h: No such file or directory
Checking for include file <socket.h> ... does not exist
comptest.c:4:21: error: resolve.h: No such file or directory
Checking for include file <resolve.h> ... does not exist
Checking for include file <sys/stat.h> ... exists
comptest.c: In function âmainâ:
comptest.c:5: error: âstruct direntâ has no member named âd_namlenâ
comptest.c:5: warning: control reaches end of non-void function
Checking for include file <dirent.h> ... exists
comptest.c:4:24: error: sys/dirent.h: No such file or directory
Checking for include file <sys/dirent.h> ... does not exist
comptest.c:4:23: error: sys/filio.h: No such file or directory
Checking for include file <sys/filio.h> ... does not exist
comptest.c:4:24: error: sys/sockio.h: No such file or directory
Checking for include file <sys/sockio.h> ... does not exist
comptest.c:4:23: error: sys/mkdev.h: No such file or directory
Checking for include file <sys/mkdev.h> ... does not exist
Checking for include file <sys/resource.h> ... exists
comptest.c:4:24: error: sys/rusage.h: No such file or directory
Checking for include file <sys/rusage.h> ... does not exist
Checking for include file <sys/wait.h> ... exists
comptest.c:4:23: error: sys/crypt.h: No such file or directory
Checking for include file <sys/crypt.h> ... does not exist
Checking for include file <crypt.h> ... exists
comptest.c:4:23: error: my_malloc.h: No such file or directory
Checking for include file <my_malloc.h> ... does not exist
comptest.c:4:23: error: mach/mach.h: No such file or directory
Checking for include file <mach/mach.h> ... does not exist
comptest.c:4:18: error: mach.h: No such file or directory
Checking for include file <mach.h> ... does not exist
Checking for include file <sys/sysmacros.h> ... exists
Checking for include file <stdarg.h> ... exists
comptest.c:4:21: error: bstring.h: No such file or directory
Checking for include file <bstring.h> ... does not exist
Checking for include file <dlfcn.h> ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
Checking for missing INADDR_NONE ... ok
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for random number generator ... using drand48()
comptest.c: In function âmainâ:
comptest.c:5: warning: statement with no effect
comptest.c:5: warning: control reaches end of non-void function
Using BSD signals.
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking if signal() returns SIG_ERR on error ... yes
comptest.c:3: warning: no previous declaration for âfooâ
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for inline ... const ...
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for ualarm() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for strerror() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for POSIX getcwd() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for getrusage() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for times() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: control reaches end of non-void function
Checking for gettimeofday() ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: implicit declaration of function âfchmodâ
comptest.c:5: warning: control reaches end of non-void function
Checking for fchmod() ... exists
Checking for big or little endian ... little
Checking for memmove() ... exists
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -lresolv ... exists
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -lbsd
collect2: ld returned 1 exit status
Checking for library -lbsd ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -lBSD
collect2: ld returned 1 exit status
Checking for library -lBSD ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -ly ... exists
In file included from lint.h:13,
                 from comptest.c:3:
std.h:14:26: error: options_incl.h: No such file or directory
In file included from std.h:24,
                 from lint.h:13,
                 from comptest.c:3:
macros.h:137: error: expected identifier or â(â before â!â token
std.h:29:27: error: opcodes.h: No such file or directory
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -lcrypt ... exists
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
comptest.c: In function âmainâ:
comptest.c:5: warning: unused variable âxâ
comptest.c:5: warning: control reaches end of non-void function
/tmp/ccJePpwx.o: In function `main':
/netheria/v22.2b14-dsouls2/comptest.c:5: undefined reference to `dlopen'
collect2: ld returned 1 exit status
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -ldl ... exists
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
Checking for library -lsocket ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -linet
collect2: ld returned 1 exit status
Checking for library -linet ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -lnsl ... exists
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -lnsl_s
collect2: ld returned 1 exit status
Checking for library -lnsl_s ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
/usr/bin/ld: cannot find -lseq
collect2: ld returned 1 exit status
Checking for library -lseq ... does not exist
comptest.c: In function âmainâ:
comptest.c:1: warning: implicit declaration of function âexitâ
comptest.c:1: warning: incompatible implicit declaration of built-in function âexitâ
Checking for library -lm ... exists
Checking for flaky Linux systems ...

./edit_source -options -malloc -build_func_spec 'gcc -E -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic' \
                      -process grammar.y.pre
Using 'local_options' file ...
Writing build options to option_defs.c ...
Using memory allocation package: sysmalloc.c
                Wrapped with: debugmalloc.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 -process mudlib/Makefile.pre
Creating 'mudlib/Makefile' from 'mudlib/Makefile.pre' ...

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

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

touch mallocwrapper.c
touch malloc.c
touch files
make -C packages 'CC=gcc' 'CFLAGS=-D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations' 'OBJDIR=../obj' 'RANLIB=ranlib' 'A=a' 'O=o'
make[1]: Entering directory `/netheria/v22.2b14-dsouls2/packages'
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/contrib.o -c contrib.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/sockets.o -c sockets.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/develop.o -c develop.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/matrix.o -c matrix.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/math.o -c math.c
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/parser.o -c parser.c
parser.c: In function âparse_sentenceâ:
parser.c:2895: warning: pointer targets in assignment differ in signedness
parser.c:2896:52: warning: unknown escape sequence '\~'
parser.c:2898: warning: pointer targets in assignment differ in signedness
parser.c:2901:16: warning: unknown escape sequence '\~'
parser.c:2920: warning: pointer targets in assignment differ in signedness
parser.c:2927: warning: pointer targets in assignment differ in signedness
parser.c:2938: warning: pointer targets in assignment differ in signedness
parser.c:2944: warning: pointer targets in assignment differ in signedness
parser.c:2946: warning: pointer targets in assignment differ in signedness
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/mudlib_stats.o -c mudlib_stats.c
ar rcu packages.a ../obj/contrib.o ../obj/sockets.o ../obj/develop.o ../obj/matrix.o ../obj/math.o ../obj/parser.o ../obj/mudlib_stats.o
ranlib packages.a
make[1]: Leaving directory `/netheria/v22.2b14-dsouls2/packages'
make -C mudlib 'CC=gcc' 'CFLAGS=-D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations' 'OBJDIR=../obj' 'RANLIB=ranlib' 'A=a' 'O=o'
make[1]: Entering directory `/netheria/v22.2b14-dsouls2/mudlib'
gcc -I../obj -I.. -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o ../obj/interface.o -c interface.c
ar rcu mudlib.a ../obj/interface.o
ranlib mudlib.a
make[1]: Leaving directory `/netheria/v22.2b14-dsouls2/mudlib'
bison -d -y grammar.y
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__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/grammar.tab.o -c grammar.tab.c
grammar.tab.c:329:6: warning: "YYENABLE_NLS" is not defined
grammar.tab.c:1490:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/lex.o -c lex.c
lex.c:2234:24: warning: trigraph ??( ignored, use -trigraphs to enable
lex.c: In function âextract_argsâ:
lex.c:2769: warning: unused variable âexpâ
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/main.o -c main.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/rc.o -c rc.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/interpret.o -c interpret.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/simulate.o -c simulate.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/file.o -c file.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/object.o -c object.c
object.c: In function âsave_svalueâ:
object.c:217: warning: operation on âeltâ may be undefined
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/backend.o -c backend.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/array.o -c array.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/mapping.o -c mapping.c
mapping.c: In function âgrowMapâ:
mapping.c:65: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c: In function âmapTraverseâ:
mapping.c:106: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c: In function âdealloc_mappingâ:
mapping.c:121: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c: In function âfree_mappingâ:
mapping.c:157: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c: In function âallocate_mappingâ:
mapping.c:244: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c: In function âfind_for_insertâ:
mapping.c:531: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct svalue_t *â
mapping.c:536: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct svalue_t *â
mapping.c: In function âadd_mappingâ:
mapping.c:1041: warning: format â%pâ expects type âvoid *â, but argument 2 has type âstruct mapping_t *â
mapping.c:1041: warning: format â%pâ expects type âvoid *â, but argument 3 has type âstruct mapping_t *â
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/comm.o -c comm.c
comm.c:17: warning: overflow in implicit constant conversion
comm.c:17: warning: overflow in implicit constant conversion
comm.c:18: warning: overflow in implicit constant conversion
comm.c:18: warning: overflow in implicit constant conversion
comm.c:19: warning: overflow in implicit constant conversion
comm.c:19: warning: overflow in implicit constant conversion
comm.c:20: warning: overflow in implicit constant conversion
comm.c:20: warning: overflow in implicit constant conversion
comm.c:21: warning: overflow in implicit constant conversion
comm.c:21: warning: overflow in implicit constant conversion
comm.c:22: warning: overflow in implicit constant conversion
comm.c:22: warning: overflow in implicit constant conversion
comm.c:23: warning: overflow in implicit constant conversion
comm.c:23: warning: overflow in implicit constant conversion
comm.c:23: warning: overflow in implicit constant conversion
comm.c:23: warning: overflow in implicit constant conversion
comm.c:24: warning: overflow in implicit constant conversion
comm.c:24: warning: overflow in implicit constant conversion
comm.c:25: warning: overflow in implicit constant conversion
comm.c:25: warning: overflow in implicit constant conversion
comm.c:26: warning: overflow in implicit constant conversion
comm.c:26: warning: overflow in implicit constant conversion
comm.c:27: warning: overflow in implicit constant conversion
comm.c:27: warning: overflow in implicit constant conversion
comm.c:28: warning: overflow in implicit constant conversion
comm.c:28: warning: overflow in implicit constant conversion
comm.c:30: warning: overflow in implicit constant conversion
comm.c:30: warning: overflow in implicit constant conversion
comm.c:31: warning: overflow in implicit constant conversion
comm.c:31: warning: overflow in implicit constant conversion
comm.c:31: warning: overflow in implicit constant conversion
comm.c:31: warning: overflow in implicit constant conversion
comm.c:32: warning: overflow in implicit constant conversion
comm.c:32: warning: overflow in implicit constant conversion
comm.c:37: warning: overflow in implicit constant conversion
comm.c:37: warning: overflow in implicit constant conversion
comm.c:37: warning: overflow in implicit constant conversion
comm.c:37: warning: overflow in implicit constant conversion
comm.c:37: warning: overflow in implicit constant conversion
comm.c: In function âinit_user_connâ:
comm.c:229: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
comm.c: In function âcopy_charsâ:
comm.c:680: warning: overflow in implicit constant conversion
comm.c:680: warning: overflow in implicit constant conversion
comm.c:681: warning: overflow in implicit constant conversion
comm.c:681: warning: overflow in implicit constant conversion
comm.c:875: warning: overflow in implicit constant conversion
comm.c:875: warning: overflow in implicit constant conversion
comm.c:875: warning: overflow in implicit constant conversion
comm.c:875: warning: overflow in implicit constant conversion
comm.c:885: warning: overflow in implicit constant conversion
comm.c:885: warning: overflow in implicit constant conversion
comm.c:921: warning: overflow in implicit constant conversion
comm.c:932: warning: overflow in implicit constant conversion
comm.c:944: warning: overflow in implicit constant conversion
comm.c:951: warning: overflow in implicit constant conversion
comm.c:968: warning: overflow in implicit constant conversion
comm.c:975: warning: overflow in implicit constant conversion
comm.c:976: warning: overflow in implicit constant conversion
comm.c:984: warning: overflow in implicit constant conversion
comm.c:984: warning: overflow in implicit constant conversion
comm.c:984: warning: overflow in implicit constant conversion
comm.c:984: warning: overflow in implicit constant conversion
comm.c:984: warning: overflow in implicit constant conversion
comm.c:994: warning: overflow in implicit constant conversion
comm.c:994: warning: overflow in implicit constant conversion
comm.c:994: warning: overflow in implicit constant conversion
comm.c:994: warning: overflow in implicit constant conversion
comm.c:994: warning: overflow in implicit constant conversion
comm.c: In function ânew_user_handlerâ:
comm.c:1467: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/ed.o -c ed.c
ed.c: In function âprint_helpâ:
ed.c:2508: warning: string length â918â is greater than the length â509â ISO C89 compilers are required to support
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/regexp.o -c regexp.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/swap.o -c swap.c
swap.c: In function âlocate_outâ:
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 3 has type âstruct function_t *â
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 4 has type âchar **â
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 5 has type âchar **â
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 6 has type âstruct inherit_t *â
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 7 has type âshort unsigned int *â
swap.c:310: warning: format â%pâ expects type âvoid *â, but argument 8 has type âshort unsigned int *â
swap.c: In function âlocate_inâ:
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 3 has type âstruct function_t *â
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 4 has type âchar **â
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 5 has type âchar **â
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 6 has type âstruct inherit_t *â
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 7 has type âshort unsigned int *â
swap.c:360: warning: format â%pâ expects type âvoid *â, but argument 8 has type âshort unsigned int *â
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/buffer.o -c buffer.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/crc32.o -c crc32.c
make: *** No rule to make target `obj/malloc.o', needed by `driver'.  Stop.
MeanMachine:/netheria/v22.2b14-dsouls2# make -j 1
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/malloc.o -c malloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/mallocwrapper.o -c mallocwrapper.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/class.o -c class.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/efuns_main.o -c efuns_main.c
efuns_main.c: In function âf_explodeâ:
efuns_main.c:812: warning: operation on âsvalue_strlen_sizeâ may be undefined
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/efuns_port.o -c efuns_port.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/call_out.o -c call_out.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/otable.o -c otable.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/dumpstat.o -c dumpstat.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/stralloc.o -c stralloc.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/port.o -c port.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/reclaim.o -c reclaim.c
reclaim.c: In function âcheck_svalueâ:
reclaim.c:51: warning: suggest parentheses around comparison in operand of |
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/parse.o -c parse.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/simul_efun.o -c simul_efun.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/sprintf.o -c sprintf.c
sprintf.c: In function âpop_sprintf_stateâ:
sprintf.c:194: warning: the address of âerrorâ, will always evaluate as âtrueâ
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/program.o -c program.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/compiler.o -c compiler.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/avltree.o -c avltree.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/icode.o -c icode.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/trees.o -c trees.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/generate.o -c generate.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/scratchpad.o -c scratchpad.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/socket_efuns.o -c socket_efuns.c
socket_efuns.c: In function âsocket_bindâ:
socket_efuns.c:340: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
socket_efuns.c: In function âsocket_acceptâ:
socket_efuns.c:409: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
socket_efuns.c:461: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
socket_efuns.c: In function âsocket_read_select_handlerâ:
socket_efuns.c:807: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness
socket_efuns.c: In function âget_socket_addressâ:
socket_efuns.c:1199: warning: statement with no effect
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/socket_ctrl.o -c socket_ctrl.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/qsort.o -c qsort.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/eoperators.o -c eoperators.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/socket_err.o -c socket_err.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/md.o -c md.c
md.c:449: warning: no previous declaration for âmark_socketsâ
md.c:482: warning: no previous declaration for âcompute_string_totalsâ
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/disassembler.o -c disassembler.c
disassembler.c: In function âdisassembleâ:
disassembler.c:342: warning: operation on âpcâ may be undefined
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/binaries.o -c binaries.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/ualarm.o -c ualarm.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/replace_program.o -c replace_program.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/ccode.o -c ccode.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/cfuns.o -c cfuns.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/compile_file.o -c compile_file.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/master.o -c master.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/function.o -c function.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/debug.o -c debug.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/crypt.o -c crypt.c
crypt.c:104: warning: no previous declaration for âMD5Digestâ
crypt.c:178: warning: no previous declaration for âencodeâ
crypt.c:195: warning: no previous declaration for âdecodeâ
crypt.c:206: warning: no previous declaration for âgetsaltâ
crypt.c:265: warning: no previous declaration for âcrunchbufferâ
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/applies_table.o -c applies_table.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/add_action.o -c add_action.c
add_action.c: In function âhash_living_nameâ:
add_action.c:67: warning: implicit declaration of function âwhashstrâ
add_action.c: At top level:
add_action.c:574: warning: no previous declaration for âf_add_actionâ
add_action.c:610: warning: no previous declaration for âf_commandâ
add_action.c:635: warning: no previous declaration for âf_commandsâ
add_action.c:642: warning: no previous declaration for âf_disable_commandsâ
add_action.c:649: warning: no previous declaration for âf_enable_commandsâ
add_action.c:656: warning: no previous declaration for âf_find_livingâ
add_action.c:672: warning: no previous declaration for âf_find_playerâ
add_action.c:688: warning: no previous declaration for âf_livingâ
add_action.c:701: warning: no previous declaration for âf_livingsâ
add_action.c:708: warning: no previous declaration for âf_notify_failâ
add_action.c:725: warning: no previous declaration for âf_query_verbâ
add_action.c:736: warning: no previous declaration for âf_remove_actionâ
add_action.c:748: warning: no previous declaration for âf_set_living_nameâ
mv -f driver driver.old
mv: cannot stat `driver': No such file or directory
make: [driver] Error 1 (ignored)
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations 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/swap.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/binaries.o obj/ualarm.o obj/replace_program.o obj/ccode.o obj/cfuns.o obj/compile_file.o obj/master.o obj/function.o obj/debug.o obj/crypt.o obj/applies_table.o obj/add_action.o -o driver packages/packages.a mudlib/mudlib.a  `cat system_libs`
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/addr_server.o -c addr_server.c
addr_server.c: In function âinit_conn_sockâ:
addr_server.c:127: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness
addr_server.c: In function ânew_conn_handlerâ:
addr_server.c:292: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations obj/socket_ctrl.o obj/addr_server.o obj/port.o \
        -o addr_server `cat system_libs`
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations -o obj/portbind.o -c portbind.c
gcc -D__USE_FIXED_PROTOTYPES__ -g -DDEBUG -DDEBUG_MACRO -rdynamic -Wall -Wundef -DPEDANTIC -pedantic -Wmissing-declarations obj/portbind.o -o portbind `cat system_libs`

Code: [Select]
MeanMachine:/netheria/v22.2b14-dsouls2# make install
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
MeanMachine:/netheria/v22.2b14-dsouls2#

Code: [Select]
MeanMachine:/netheria/bin# ./startmud driver 3000 &
[1] 3138
MeanMachine:/netheria/bin# using config file: ./mudos.cfg
Initializing internal tables....
----------------------------------------------------------------------------
Netheria (MudOS v22.2b14) starting up on Linux - Mon May 21 23:27:26 2007


Connection to address server (localhost 2999) refused.

Loading preloaded files ...
]Preloading: /secure/daemon/update...](0.0)
]Preloading: /domains/default/room/pod...](0.0)
]Preloading: /domains/default/room/furnace...](0.0)
]Preloading: /lib/sentient...](0.0)
]Preloading: /lib/std/table...](0.0)
]Preloading: /daemon/soul...](0.0)
]Preloading: /lib/player...](0.0)
]Preloading: /secure/daemon/players...](0.0)
]Preloading: /secure/daemon/remotepost...](0.0)
]Preloading: /secure/daemon/localpost...](0.0)
]Preloading: /secure/daemon/letters...](0.0)
]Preloading: /secure/daemon/folders...](0.0)
]Preloading: /secure/daemon/events...](0.0)
]Preloading: /daemon/seasons...](0.0)
]Preloading: /daemon/intermud...](0.0)
]Preloading: /secure/daemon/economy...](0.0)
]Preloading: /secure/daemon/chat...](0.0)
]Preloading: /daemon/verbs...](0.0)
]Preloading: /daemon/command...](0.0)
]Preloading: /daemon/decay...](0.0)
]Preloading: /daemon/reaper...](0.0)
]Preloading: /secure/daemon/ping...](0.0)
]Preloading: /secure/room/arch...](0.0)
]Preloading: /secure/daemon/snoop...](0.0)
]Preloading: /secure/daemon/log...](0.0)
]Preloading: /secure/daemon/file...](0.0)
]Preloading: /secure/daemon/reload...](0.0)
]Preloading: /secure/daemon/inet...](0.0)
Initializations complete.

Accepting connections on port 3000.
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #9 on: May 21, 2007, 02:43:23 pm »
...only things I still haven't fixed is why the addr_server can't connect to the port I've opened (worked on Debian 3.1, but
is not that important), plus from time to time I get this message in the console-screen:

Code: [Select]
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
setitimer: driver (pid = 5354) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
« Last Edit: May 21, 2007, 02:46:42 pm by Atomic »
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline skout23

  • Acquaintance
  • *
  • Posts: 17
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #10 on: May 21, 2007, 03:50:16 pm »
Okay every thing looks good... did you run the addr_server with the 2999 port?  I moved that binary to the /bin at least I think I did however I believe normally it is found in /v22.2b14/addr_server .

So just

Code: [Select]
cd YOURMUDSdir/v22.2b14/
./addr_server 2999 &

Should get rid of the "Connection to address server (localhost 2999) refused." error.


Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Re: Setting up DS2.x - C-compiler not found
« Reply #11 on: May 21, 2007, 03:55:48 pm »
Yup, addr_server works now again, thanks.

It's just that pile of warnings what worries me a lot, wonder if it has any consequences on
the overall working of the mud. At least I can't remember having so much troubles
compiling. I guess that comes with basic installation of newer (and newer) distro's.
At some point they just won't install the dev-tools anymore, plus that installing
newer packages probably will give more errors/warnings due to not being
fully backwards compatible (or being more strict on certain structures, like gcc 4.+)
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.