[comp.os.minix] 1.3 Library problems

wtoomey@gara.une.oz (Warren Toomey) (08/27/88)

I'm just starting to get Minix up to 1.3, and I've encountered some problems
compiling the library functions. I'm using a 1.1 compiler, and have got
Minix up to 1.2. I've copied & linked all the new .h files, and I get the
following errors:

"ctime.c" line59: (warning) conversion of long to pointer loses accuracy

"fopen.c" line29: errno undefined
          line29: ENOENT undefined

"malloc.c" line49: (warning) overflow in unsigned constant expression
           line63: (warning) overflow in unsigned constant expression
           line113: (warning) overflow in unsigned constant expression

"message.c" line5: initialisation of unions not allowed

All the new 1.3 library functions patched with no errors, but I was missing
some .h files which I eventually got from a friend, although they weren't
exactly the right length. These were:

/usr/include/minix/callnr.h
/usr/include/minix/com.h
/usr/include/minix/const.h
/usr/include/minix/type.h

	If anybody can show me what I've done wrong, I'd be very grateful.

						Thanks again!

+--------------------------------------------------------------------------+
|Warren Toomey                                                             |
|Dept. of Computing Science  ACSNET: wtoomey@neumann.une.oz                |
|University of New England   UUCP: ...!uunet!munnari!neumann.une.oz!wtoomey|
|Armidale Australia 2351     ARPA: wtoomey%neumann.une.oz@uunet.uu.net     |
+--------------------------------------------------------------------------+
|      "Life isn't as trivial as it seems, it only appears to be."         |
+--------------------------------------------------------------------------+