httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject apache 1.2.1 won't compile on DEC OSF1 3.2d (fwd)
Date Mon, 18 Aug 1997 14:19:17 GMT


--
Rob Hartill                              Internet Movie Database (Ltd)
http://www.moviedatabase.com/   .. a site for sore eyes.

---------- Forwarded message ----------
Date: Mon, 18 Aug 1997 13:51:37 +0200
From: Harald Volz <volz@mpib-tuebingen.mpg.de>
Cc: apache-bugs@apache.org
Subject: apache 1.2.1 won't compile on DEC OSF1 3.2d
Newsgroups: comp.infosystems.www.servers.unix

Hi,
I'm trying to compile the recent apache server.
Up to Version 1.2.0 I had no problems with the DEc-Compiler,
now it says:

cc -c   -O2 -DOSF1   util_snprintf.c
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 929: redeclaration
of 'ap_snprintf'; previous declaration at line 550 in file './conf.h'
 int ap_snprintf(char *buf, size_t len,  char *format,...)
 ----^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 929: Incompatible
type for the function parameter
 int ap_snprintf(char *buf, size_t len,  char *format,...)
 ----------------------------------------------^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 941: redeclaration
of 'ap_vsnprintf'; previous declaration at line 551 in file './conf.h'
 int ap_vsnprintf(char *buf, size_t len,  char *format, va_list ap)
 ----^
/usr/lib/cmplrs/cc/cfe: Error: util_snprintf.c, line 941: Incompatible
type for the function paramet
er
 int ap_vsnprintf(char *buf, size_t len,  char *format, va_list ap)
 -----------------------------------------------^
*** Exit 1
Stop.

Trying to compile with gcc leads to:
gcc -c   -O2 -DOSF1   alloc.c
alloc.c: In function `fd_cleanup':
alloc.c:784: warning: cast from pointer to integer of different size
alloc.c: In function `note_cleanups_for_fd':
alloc.c:787: warning: cast to pointer from integer of different size
alloc.c: In function `kill_cleanups_for_fd':
alloc.c:792: warning: cast to pointer from integer of different size
alloc.c: In function `pclosef':
alloc.c:820: warning: cast to pointer from integer of different size
gcc -c   -O2 -DOSF1   http_main.c
gcc -c   -O2 -DOSF1   http_core.c
http_core.c: In function `set_server_string_slot':
http_core.c:847: warning: cast from pointer to integer of different size
gcc -c   -O2 -DOSF1   http_config.c
http_config.c: In function `set_string_slot':
http_config.c:705: warning: cast from pointer to integer of different
size
http_config.c: In function `set_flag_slot':
http_config.c:714: warning: cast from pointer to integer of different
size
gcc -c   -O2 -DOSF1   http_request.c
gcc -c   -O2 -DOSF1   http_log.c
gcc -c   -O2 -DOSF1   http_protocol.c
gcc -c   -O2 -DOSF1   rfc1413.c
gcc -c   -O2 -DOSF1   util.c
gcc -c   -O2 -DOSF1   util_script.c
gcc -c   -O2 -DOSF1   modules.c
gcc -c   -O2 -DOSF1   buff.c
gcc -c   -O2 -DOSF1   md5c.c
gcc -c   -O2 -DOSF1   util_md5.c
gcc -c   -O2 -DOSF1   explain.c
gcc -c   -O2 -DOSF1   http_bprintf.c
gcc -c   -O2 -DOSF1   util_date.c
gcc -c   -O2 -DOSF1   util_snprintf.c
gcc    -o httpd alloc.o http_main.o http_core.o http_config.o
http_request.o http_log.o http_protoco
l.o rfc1413.o util.o util_script.o modules.o buff.o md5c.o util_md5.o
explain.o http_bprintf.o util_
date.o util_snprintf.o    -lm
collect2: ld returned 1 exit status
/lib/libc.a(find_rtfunc.o)(.lita+0x40): undefined reference to
`_DYNAMIC_LINK'
/lib/libc.a(find_rtfunc.o)(.lita+0x58): undefined reference to `_gpinfo'
/lib/libc.a(find_rtfunc.o)(.lita+0x68): undefined reference to
`_fpdata_size'
make: *** [httpd] Error 1

any help appreciated

harald

-- 
               Harald Volz
   - Netzwerk- und Systemadministration -
Max-Planck-Institut f. Biologische Kybernetik
              Spemannstr. 38
            D- 72076 Tuebingen
    Tel: ++49 (0)7071 601-511 
    Fax: ++49 (0)7071 601-616 (o. -575)
    email: volz@mpik-tueb.mpg.de
           volz@mpib-tuebingen.mpg.de


Mime
View raw message