Error following tutorial

Reid Thompson RThompso@ateb.com
Wed Jul 26 10:31:00 GMT 2000


Trying to follow
the monop tutorial.   Looking for a
bit of help with regard to build errors.

Build errors output
are:

gcc
-o monop.exe    cards.o
execute.o getinp.o houses.o jail.o misc.o monop.o morg.o print.o prop.o rent.o
roll.o spec.o trade.o 

cards.o(.text+0xf5):cards.c:
undefined reference to `errx'

execute.o(.text+0x627):execute.c:
undefined reference to `sbrk'

execute.o(.text+0x7ec):execute.c:
undefined reference to `brk'

monop.o(.text+0x593):monop.c:
undefined reference to `getgid'

monop.o(.text+0x59b):monop.c:
undefined reference to `getgid'

monop.o(.text+0x5a3):monop.c:
undefined reference to `setregid'

monop.o(.text+0x81f):monop.c:
undefined reference to `errx'

monop.o(.text+0x908):monop.c:
undefined reference to `errx'

prop.o(.text+0x8c):prop.c:
undefined reference to `errx'

collect2:
ld returned 1 exit status

make.exe:
*** [monop.exe] Error 1

+++
End +++

 

 

Noticed that the
file initdeck.c is left out of those listed as build targets…. Is this
correct?   The file err.h referenced
in it is not to be found in the downloaded package,,, is it expected to be a
system header file?   Is there a
missing file(s) in the package, or, can anyone venture a guess as to what I have
incorrectly done.

 

Thanks

reid
















                                                                                                                                                











More information about the Sourcenav mailing list