ejd@goanna.cs.rmit.oz.au (Erick Delios) (06/10/90)
The program 'xx.c' listed below produces the following errors during
compilation. Is something missing from Umax 4.3 (R4.0.0) ?
undefined first referenced
symbol in file
SYS_dread /lib/libc.a[dread.o]
SYS_dwrite /lib/libc.a[dwrite.o]
ld fatal: Symbol referencing errors. No output written to a.out
----- Test program --------
#include <sys/file.h>
#define FILE "/tmp/xxx"
main()
{
int fp, a, r;
fp = open(FILE,O_RDWR);
r = dread(fp,(char *) &a,sizeof (int),0x100);
r = dwrite(fp,(char *)&a,sizeof (int),0x100);
}
---- End Test -----------------
ejd