even if it is defined in olc.c, it still has to be defined in aedit.c the #include directive tells the compilier to treat the listed file as if it were actually typed into that place of the .c file. that is why .h files are header files. #include really does include the file into the file being read. hmm.. .is that clear.. ick --Angus ______________________________ Forward Header __________________________________ Subject: NEWBIE - problems with OLC1.3-1.5 Author: INTERNET:Dan@cs.man.ac.uk at CSERVE Date: 3/1/98 12:07 PM <stuff snipped> /import/homea/home/mrbounce/users/danargent/circle/circle30bpl12/src/a edit.c:211 : undefined reference to `yel' and the same for all the other olc modules. ... As far as I can see, by grepping for "yel" and "nrm" and etc all the defintions should be there and screen.h is most definetly included in olc.c. I must have missed something out when changing olc.c, but for the life of me cannot work out what. If someone could respond it would be very helpfull as I have been stuck over this for some days.... +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST