Bonjour,
We have an Alpha 3000/300 running OSF1/3.0 and we want to
install Ghostview 1.4.1. . When I try to compile I get the following errors
:
cc -O -I/usr/include -DNON_BLOCKING_IO -DSELFILE -DHOME_ON_DEMAND -c Dir
.c
/usr/lib/cmplrs/cc/cfe: Warning: Dir.c, line 133: Incompatible pointer type assi
gnment
while (dp = readdir(dirp)) {
----------^
/usr/lib/cmplrs/cc/cfe: Error: Dir.c, line 140: 'd_name' undefined, reoccurrence
s will not be reported
str = dp->d_name;
--------^
/usr/lib/cmplrs/cc/cfe: Error: Dir.c, line 140: member of structure or union req
uired
str = dp->d_name;
----------^
*** Exit 1
I have changed the line 35 in Dir.c from :
#if defined(SVR4) || defined(SYSV) || defined(USG)
to:
#if defined(SVR4) || defined(SYSV) || defined(USG) || defined(__OSF1__) || d
efined(__OSF__) || defined(__osf__)
as David O'Byrne told us on 9/11/94 but it doesn't change anything.
May I have some help for resolving this problem ?
Thanks,
===================================================================*********
**********************************************************
Mme Dominique BAISNEE
Centre des Faibles Radioactivités
Service Informatique
Laboratoire mixte CEA/CNRS
Avenue de la Terrasse
91198 GIF SUR YVETTE
--------------------
Tel : 69-82-43-51
Fax : 69-82-35-68
E-mail : baisnee_at_eole.cfr.cnrs-gif.fr
Received on Tue Mar 14 1995 - 11:33:26 NZDT