[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Compile problems on OSF1
From: |
Martin Mokrejs |
Subject: |
LYNX-DEV Compile problems on OSF1 |
Date: |
Wed, 11 Mar 1998 15:46:19 +0100 (MET) |
Hello,
I did not succeed to compile lynx-2-7-2 on Digital Unix 4.0D.
'uname -a' gives 'OSF1 prfdec V4.0 878 alpha'
Here's the output from 'make osf':
cc -O -c -o ../../Library/osf/HTFile.o -DSYS5 -std1 -Olimit 2000
-DNSL_FORK -DDIRED_SUPPORT -DLONG_LIST -I../../Library/Implementation/
-DXMOSAIC_HACK -DACCESS_AUTH ../../Library/Implementation/HTFile.c
cc: Error: ../../Library/Implementation/HTFile.c, line 1322: In this
statement, "DIR" is not declared.
DIR * dp = NULL;
------------^
cc: Error: ../../Library/Implementation/HTFile.c, line 1322: In this
statement, "dp" is not declared.
DIR * dp = NULL;
-------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
address@hidden
Solution for me was to edit generic section in top-level Makefile, so I
happily run this version (used generic settings).
Here's the output from 'make generic' on the crucial line.
cc -c -o ../../Library/unix/HTFile.o -O -DDEBUG -DDIRED_SUPPORT
-DLONG_LIST -I../../Library/Implementation/ -DXMOSAIC_HACK
-DACCESS_AUTH ../../Library/Implementation/HTFile.c
Does anyone know what causes the problem with default osf settings?
BTW: I need -std1 to cc ANSI C compatible. It should be by default in all
OSF related sections in Makefile (at least in the top-level
Makefile;WWW/Library/osf/Makefile works exceptionally without it).
PLEASE CC: RESPONSE TO ME BECAUSE I'M NOT SUBSCRIBED TO THE LIST.
TIA
Martin
-------------------------------------------------------------------------
| Martin MOKREJS - Net&SysAdmin |
| PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs |
| address@hidden Faculty of Science, The Charles University |
| tel.: +420-2-2195 2315 Albertov 6, PRAGUE 2, 128 43, Czech Republic |
-------------------------------------------------------------------------
- LYNX-DEV Compile problems on OSF1,
Martin Mokrejs <=