From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c3c0b8efb7aaa751,start X-Google-Attributes: gidfee84,public From: Marta Morales Subject: xpaint in Digital Unix 4.0 Date: 1996/12/03 Message-ID: <32A4421A.2781@circe.cps.unizar.es>#1/1 X-Deja-AN: 202101899 content-type: text/plain; charset=us-ascii organization: Universiad de Zaragoza - Spain mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) Please, could you mail me if you can help? The problem is that when trying to install xpaint: # xmkmf imake -DUseInstalled -I/usr/lib/X11/config # make Makefiles making Makefiles in rw... making Makefiles in xpm... making Makefiles in libtiff... making Makefiles in bitmaps... #make install ./ad2c.script XPaint.ad > XPaint.ad.h cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c main.c cc: Warning: main.c, line 219: In this statement, the referenced type of the pointer value "&argc" is "unsigned int", which is not compatible with "int". toplevel = XtAppInitialize(&Global.appContext, "XPaint", -------------------^ cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c menu.c cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c operation.c cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c graphic.c cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c misc.c cc -O2 -std1 -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -I.//xpm -c fileName.c cc: Warning: fileName.c, line 383: In this statement, the referenced type of the pointer value "readdir(...)" is "struct dirent", which is not compatible with "struct direct". while ((e = readdir(dirp)) != NULL) { ----------------^ cc: Error: fileName.c, line 385: In the initializer for nm, "d_name" is not a member of "e". char *nm = e->d_name; --------------------------------------^ *** Exit 1 Stop. # Thank you