Subject: Compiling LambdaMOO-1.7.6

From: "Gregory L. Searle" <[email-masked]>
Date: Mon, 11 Oct 1993 20:02:00 -0700

Hi there.
I have been trying relentlessly to compile Lambda. I am working with an
HP-UX running System V with BSD extentsions.
We don't have gcc. I related this to Pavel and he indicated that the
absence of gcc shouldn't make a difference.

Here are the error codes I get when I attempt to make with the BSD (in
options.h) default. I don't get as far with SYSV (in options.h)

ANy ideas? Do I really need gcc?

make
	grep -v '^#undef' raw_config.h > config.h
	cc -Aa -O -DMOO -c ast.c
	cc -Aa -O -DMOO -c db.c
cc: "db.c", line 96: error 1000: Unexpected symbol: "result".
cc: "db.c", line 96: error 1588: "pid_t" undefined.
cc: "db.c", line 98: error 1588: "result" undefined.
cc: "db.c", line 98: error 1563: Expression in if must be scalar.
cc: "db.c", line 101: error 1563: Expression in if must be scalar.
*** Error code 1

Stop.
TinkerTime --> make
	cc -Aa -O -DMOO -c db_property.c
	cc -Aa -O -DMOO -c db_verb.c
	cc -Aa -O -DMOO -c eval_env.c
	cc -Aa -O -DMOO -c eval_vm.c
	cc -Aa -O -DMOO -c exceptions.c
	cc -Aa -O -DMOO -c execute.c
	cc -Aa -O -DMOO -c functions.c
	cc -Aa -O -DMOO -c list.c
	cc -Aa -O -DMOO -c log.c
	cc -Aa -O -DMOO -c malloc.c
	cc -Aa -O -DMOO -c match.c
	touch net_single.o
	touch net_multi.o
	touch net_mp_selct.o
	touch net_mp_poll.o
	touch net_mp_fake.o
	touch net_bsd_tcp.o
	touch net_bsd_lcl.o
	touch net_sysv_tcp.o
	touch net_sysv_lcl.o
	cc -Aa -O -DMOO -c network.c
cc: "net_multi.c", line 109: error 1588: "F_GETFL" undefined.
cc: "net_multi.c", line 110: error 1588: "F_SETFL" undefined.
cc: "net_multi.c", line 110: error 1588: "O_NDELAY" undefined.
cc: "net_multi.c", line 310: error 1588: "SIGPIPE" undefined.
cc: "net_multi.c", line 310: warning 563: Argument #1 is not the correct type.
cc: "net_multi.c", line 310: warning 608: Illegal integer-pointer combination in assignment.
cc: "net_multi.c", line 310: warning 563: Argument #2 is not the correct type.
cc: "/usr/include/netinet/in.h", line 69: error 1000: Unexpected symbol: "u_long".
cc: "/usr/include/netinet/in.h", line 127: error 1000: Unexpected symbol: "u_short".
cc: "net_bsd_tcp.c", line 92: error 1000: Unexpected symbol: "0x00000000".
cc: "net_bsd_tcp.c", line 80: error 1588: "AF_INET" undefined.
cc: "net_bsd_tcp.c", line 80: error 1588: "SOCK_STREAM" undefined.
cc: "net_bsd_tcp.c", line 85: error 1588: "SOL_SOCKET" undefined.
cc: "net_bsd_tcp.c", line 85: error 1588: "SO_REUSEADDR" undefined.
cc: "net_bsd_tcp.c", line 92: error 1588: "u_long" undefined.
cc: "net_bsd_tcp.c", line 140: error 1588: "EMFILE" undefined.
cc: "net_bsd_tcp.c", line 140: error 1563: Expression in if must be scalar.
cc: "net_bsd_tcp.c", line 151: error 1588: "AF_INET" undefined.
cc: "net_bsd_tcp.c", line 149: warning 608: Illegal integer-pointer combination in assignment.
cc: "net_bsd_tcp.c", line 157: error 1530: Undefined struct or union.
cc: "net_bsd_tcp.c", line 220: error 1588: "AF_INET" undefined.
cc: "net_bsd_tcp.c", line 227: warning 608: Illegal integer-pointer combination in assignment.
cc: "net_bsd_tcp.c", line 234: error 1530: Undefined struct or union.
cc: "net_bsd_tcp.c", line 234: warning 563: Argument #2 is not the correct type.
cc: "net_bsd_tcp.c", line 234: error 1530: Undefined struct or union.
cc: "net_bsd_tcp.c", line 234: warning 563: Argument #3 is not the correct type.
cc: "net_bsd_tcp.c", line 245: error 1588: "SOCK_STREAM" undefined.
cc: "net_bsd_tcp.c", line 247: error 1588: "EMFILE" undefined.
cc: "net_bsd_tcp.c", line 247: error 1563: Expression in if must be scalar.
cc: "net_bsd_tcp.c", line 258: error 1588: "ETIMEDOUT" undefined.
cc: "net_bsd_tcp.c", line 264: error 1588: "EADDRNOTAVAIL" undefined.
cc: "net_bsd_tcp.c", line 265: error 1588: "ECONNREFUSED" undefined.
cc: "net_bsd_tcp.c", line 266: error 1588: "ENETUNREACH" undefined.
cc: "net_bsd_tcp.c", line 267: error 1588: "ETIMEDOUT" undefined.
cc: "net_bsd_tcp.c", line 264: error 1563: Expression in if must be scalar.
cc: "net_mp_selct.c", line 28: error 1000: Unexpected symbol: "input".
cc: "net_mp_selct.c", line 34: error 1588: "input" undefined.
cc: "net_mp_selct.c", line 34: error 1527: Incompatible types in cast.
cc: "net_mp_selct.c", line 34: error 1554: Indirection must be through a pointer.
cc: "net_mp_selct.c", line 34: error 1594: Unknown size.
cc: "net_mp_selct.c", line 35: error 1588: "output" undefined.
cc: "net_mp_selct.c", line 35: error 1527: Incompatible types in cast.
cc: "net_mp_selct.c", line 35: error 1554: Indirection must be through a pointer.
cc: "net_mp_selct.c", line 35: error 1594: Unknown size.
cc: "net_mp_selct.c", line 42: error 1588: "input" undefined.
cc: "net_mp_selct.c", line 42: error 1532: Reference through a non-pointer.
cc: "net_mp_selct.c", line 42: error 1549: Modifiable lvalue required for assignment operator.
cc: "net_mp_selct.c", line 50: error 1588: "output" undefined.
cc: "net_mp_selct.c", line 50: error 1532: Reference through a non-pointer.
cc: "net_mp_selct.c", line 50: error 1549: Modifiable lvalue required for assignment operator.
cc: "net_mp_selct.c", line 58: error 1574: Unknown size for "tv".
cc: "net_mp_selct.c", line 61: error 1530: Undefined struct or union.
cc: "net_mp_selct.c", line 62: error 1530: Undefined struct or union.
cc: "net_mp_selct.c", line 64: error 1588: "input" undefined.
cc: "net_mp_selct.c", line 64: error 1527: Incompatible types in cast.
cc: "net_mp_selct.c", line 64: error 1588: "output" undefined.
cc: "net_mp_selct.c", line 64: error 1527: Incompatible types in cast.
cc: "net_mp_selct.c", line 67: error 1588: "EINTR" undefined.
cc: "net_mp_selct.c", line 67: error 1563: Expression in if must be scalar.
cc: "net_mp_selct.c", line 77: error 1588: "input" undefined.
cc: "net_mp_selct.c", line 77: error 1532: Reference through a non-pointer.
cc: "net_mp_selct.c", line 83: error 1588: "output" undefined.
cc: "net_mp_selct.c", line 83: error 1532: Reference through a non-pointer.
*** Error code 1

Stop.
TinkerTime --> make
	touch net_single.o
	touch net_multi.o
	touch net_mp_selct.o
	touch net_mp_poll.o
	touch net_bsd_tcp.o
	touch net_bsd_lcl.o
	touch net_sysv_tcp.o
	touch net_sysv_lcl.o
	cc -Aa -O -DMOO -c numbers.c
	cc -Aa -O -DMOO -c objects.c
	cc -Aa -O -DMOO -c parse_cmd.c
	cc -Aa -O -DMOO -c program.c
	cc -Aa -O -DMOO -c property.c
	cc -Aa -O -DMOO -c quota.c
	cc -Aa -O -DMOO -c ref_count.c
	cc -Aa -O -DMOO -c regex.c
	cc -Aa -O -DMOO -c server.c
cc: "server.c", line 45: error 1000: Unexpected symbol: "parent_pid".
cc: "server.c", line 101: error 1588: "SIGHUP" undefined.
cc: "server.c", line 101: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 101: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 101: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 103: error 1588: "SIGQUIT" undefined.
cc: "server.c", line 103: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 103: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 103: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 108: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 108: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 108: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 108: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 109: error 1588: "SIGUSR2" undefined.
cc: "server.c", line 109: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 109: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 109: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 110: error 1588: "SIGCLD" undefined.
cc: "server.c", line 110: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 110: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 110: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 131: error 1588: "parent_pid" undefined.
cc: "server.c", line 131: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 182: error 1588: "WNOHANG" undefined.
cc: "server.c", line 207: error 1588: "SIGHUP" undefined.
cc: "server.c", line 207: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 207: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 207: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 209: error 1588: "SIGQUIT" undefined.
cc: "server.c", line 209: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 209: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 209: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 217: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 217: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 217: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 217: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 218: error 1588: "SIGUSR2" undefined.
cc: "server.c", line 218: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 218: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 218: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 220: error 1588: "SIGCLD" undefined.
cc: "server.c", line 220: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 220: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 220: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 508: error 1588: "parent_pid" undefined.
*** Error code 1

Stop.
TinkerTime --> make
	touch net_single.o
	touch net_multi.o
	touch net_mp_selct.o
	touch net_mp_poll.o
	touch net_bsd_tcp.o
	touch net_bsd_lcl.o
	touch net_sysv_tcp.o
	touch net_sysv_lcl.o
	cc -Aa -O -DMOO -c server.c
cc: "server.c", line 45: error 1000: Unexpected symbol: "parent_pid".
cc: "server.c", line 101: error 1588: "SIGHUP" undefined.
cc: "server.c", line 101: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 101: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 101: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 103: error 1588: "SIGQUIT" undefined.
cc: "server.c", line 103: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 103: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 103: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 108: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 108: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 108: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 108: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 109: error 1588: "SIGUSR2" undefined.
cc: "server.c", line 109: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 109: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 109: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 110: error 1588: "SIGCLD" undefined.
cc: "server.c", line 110: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 110: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 110: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 131: error 1588: "parent_pid" undefined.
cc: "server.c", line 131: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 182: error 1588: "WNOHANG" undefined.
cc: "server.c", line 207: error 1588: "SIGHUP" undefined.
cc: "server.c", line 207: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 207: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 207: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 209: error 1588: "SIGQUIT" undefined.
cc: "server.c", line 209: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 209: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 209: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 217: error 1588: "SIGUSR1" undefined.
cc: "server.c", line 217: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 217: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 217: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 218: error 1588: "SIGUSR2" undefined.
cc: "server.c", line 218: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 218: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 218: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 220: error 1588: "SIGCLD" undefined.
cc: "server.c", line 220: warning 563: Argument #1 is not the correct type.
cc: "server.c", line 220: warning 608: Illegal integer-pointer combination in assignment.
cc: "server.c", line 220: warning 563: Argument #2 is not the correct type.
cc: "server.c", line 508: error 1588: "parent_pid" undefined.
*** Error code 1

Stop.

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  [DUBIOUS DISCLAIMER tm]
   :              Gregory L. Searle              :  Any heresy, iconoclasm,
   :    Computing and Communications Services    :  or subversion expressed
   :             Political Studies               :  above is my own, and is
   :       University of Guelph, CANADA          :  not to be confused with
   : [email-masked]  [email-masked] :  that of my employer(s).
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ||||_CopyLeft_1993_||||