Path: utzoo!attcan!uunet!samsung!munnari.oz.au!ditmela!yarra!monu6!minyos!goanna!ejd From: ejd@goanna.cs.rmit.oz.au (Erick Delios) Newsgroups: comp.sys.encore Subject: dread & dwrite system calls Keywords: don't work Message-ID: <3206@goanna.cs.rmit.oz.au> Date: 9 Jun 90 18:13:34 GMT Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 26 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 #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