Hi,

I am having problems when compiling on a HPUX11.00i machine (gcc 3.2), and
am hoping that somebody knows a fix, or can change the source so I don't
have to deal with it again ;-)

ruby-1.8.0.prerelease compile:

gcc -I. -g -O2  -I. -I. -c ./missing/strftime.c
missing/strftime.c:124: conflicting types for `timezone'
/usr/include/sys/time.h:450: previous declaration of `timezone'


where /usr/include/sys/time.h looks like this:
#    ifndef _TIMEZONE
#      define _TIMEZONE
       extern long timezone;
#    endif

-------------------------------------------------------------------------
If I correct the above problem, I then get the linker error:

gcc -g -O2  -Wl,-E main.o dmyext.o libruby-static.a -ldld -lcrypt -lm   -o
miniruby
/usr/ccs/bin/ld: Unsatisfied symbols:
   altzone (first referenced in libruby-static.a(eval.o)) (data)
collect2: ld returned 1 exit status


-------------------------------------------------------------------------
-------------------------------------------------------------------------
After correcting the above I get the following linker error:

ld -b -Wl,-E -E  -L"/home/cfiles/dnload/hpux/ruby-1.8.0" -o curses.sl curses.o
-lcur_colr  -ldld -lcrypt -lm  -lc
ld: Unrecognized argument: -Wl,-E
ld: Usage:  ld [options] [flags] files

(Which is strange that it now decides to use ld as the linker instead of
gcc which it used on the previous error.  This last error also comes up when I
try to compile the CVS snapshot taken on February 10th of ruby.)




Thanks,
  Craig