Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!uwm.edu!bionet!hayes.ims.alaska.edu!milton!byron!sri From: sri@byron.u.washington.edu (Kandiah Sribalaskandarajah) Newsgroups: comp.windows.interviews Subject: Compiling 3.0-beta on a RISC6000 platform. Message-ID: <1991Apr22.204937.128887@byron.u.washington.edu> Date: 22 Apr 91 21:01:08 GMT Article-I.D.: byron.1991Apr22.204937.128887 Sender: news@milton.u.washington.edu (News) Reply-To: sri@byron.acs.washington.edu (Kandiah Sribalaskandarajah) Organization: University of Washington, Seattle Lines: 35 Hi, I got the following error message when I tried to compile IV3.0 on a RISC6000 (AIX) platform. It seems that 'stat' sructure is undefined for some reason. Any pointers/fixes are appreciated. ---- error log follows -------------------------------------------- Building InterViews 3.0 on Mon Apr 22 12:54:46 PDT 1991 making all for RISC6000 in ./src/lib/IV-look making all for RISC6000 in ./src/lib/IV-look/RISC6000 compiling ../filebrowser.c rm -f filebrowser.o filebrowser..c CC +p -O -Dcplusplus_2_0 -Dibm -I.. -I../../../.././src/include -I/usr/include/X11 -c ../filebrowser.c CC +p ../filebrowser.c: "/usr/local/include/CC/sys/types.h", line 23: warning: ``/*'' in comment "/usr/local/include/CC/sys/stat.h", line 214: error: two mkdir()s with c linkage "/usr/local/include/CC/sys/stat.h", line 215: error: two chmod()s with c linkage "../filebrowser.c", line 130: error: stat undefined, size not known "../filebrowser.c", line 131: error: member st_mode undefined "../filebrowser.c", line 135: warning: uid_t passed as int "../filebrowser.c", line 182: warning: int initialized with size_t "../filebrowser.c", line 192: warning: int initialized with long "../filebrowser.c", line 267: warning: int initialized with long "../filebrowser.c", line 305: error: two initializers for ivStringBrowser "../filebrowser.c", line 305: warning: name not used "../filebrowser.c", line 305: warning: bs not used "../filebrowser.c", line 305: warning: r not used "../filebrowser.c", line 305: warning: c not used "../filebrowser.c", line 306: warning: u not used "../filebrowser.c", line 306: warning: h not used "../filebrowser.c", line 307: warning: d not used "../filebrowser.c", line 383: error: stat undefined, size not known "../filebrowser.c", line 384: error: member st_mode undefined "../filebrowser.c", line 390: warning: size_t passed as int ------- sri