Re: SunOS errors

From: Thomas Pedersen (classic@cloud9.net)
Date: 09/22/96


	 
I had a nightmare getting it to run under SunOS.  Basicially all the
headerfiles are f*ked, any residing multiple places on the system. A real
nasty setup..... You have to manually go through the configure file, and
add in which you actually have (seem like the config didnt find 1/2 what
was there), rerun it..to rebuild conf.h and sysdep.h.  I still had
problems, and had to manually put in #includes and point to various
versions of them.  A real pain in the .....

Still having 3 implicit declaration errors myself, that i just can't get
rid of. *shrug*

Hint: do man on the implicit functions, and check which
headerfile it resides in.   Then search for that function in the
headerfiles.  They may/may not be there....if not..look for other
subsitiute commands..

Good luck.

> I am getting some erros trying to move my mud to
> sunOS.
> 
> Here are some:
> 
> ng directory `/home1/l/linebacker/circle/src'
> gcc -c -g -O -Wall -fno-strict-prototypes  comm.c
> comm.c: In function `game_loop':
> comm.c:473: `errno' undeclared (first use this function)
> comm.c:473: (Each undeclared identifier is reported only once
> comm.c:473: for each function it appears in.)
> comm.c:473: `EINTR' undeclared (first use this function)
> comm.c: In function `make_prompt':
> comm.c:850: warning: implicit declaration of function `strcat'
> comm.c: In function `new_descriptor':
> comm.c:1017: warning: implicit declaration of function `strncpy'
> comm.c: In function `write_to_descriptor':
> comm.c:1129: `errno' undeclared (first use this function)
> comm.c:1129: `EAGAIN' undeclared (first use this function)
> comm.c: In function `process_input':
> comm.c:1174: `errno' undeclared (first use this function)
> comm.c:1174: `EAGAIN' undeclared (first use this function)
> comm.c: In function `perform_subst':
> comm.c:1313: warning: implicit declaration of function `strchr'
> comm.c:1313: warning: assignment makes pointer from integer without a cast
> comm.c:1322: warning: implicit declaration of function `strstr'
> comm.c:1322: warning: assignment makes pointer from integer without a cast
> comm.c:1333: warning: implicit declaration of function `strncat'
> comm.c: In function `nonblock':
> comm.c:1448: `F_GETFL' undeclared (first use this function)
> comm.c:1449: `O_NDELAY' undeclared (first use this function)
> comm.c:1450: `F_SETFL' undeclared (first use this function)
> make[1]: *** [comm.o] Error 1
> make[1]: Leaving directory `/home1/l/linebacker/circle/src'
> make: *** [default] Error 2
> 
> This is a cherry version of circle I am trying to compile, has
> anyone seen these errors before?
> 
> Thanks, Chuck
> 
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 


* Classic@Cloud9.net * tpedersen@kraft.com *
* http://www.cloud9.net/~classic *
* visit Darklord MUD at pody.westnet.com 5000 *

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST