[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OpenBSD Build
- To: pete
- Subject: OpenBSD Build
- From: Pete Delaney <Pete.Delaney>
- Date: Thu, 31 Dec 1998 01:25:43 -0800
- Cc: piet, piet@cup.hp.com
# This is a nasty hack
PATH="/bin:/usr/bin:/sbin:/usr/sbin" CC="cc" CFLAGS="-O2 " sh /usr/src/usr.sbin/httpd/src/Configure -file /usr/src/usr.sbin/httpd/src/obj/Configuration -make /usr/src/usr.sbin/httpd/src/Makefile.tmpl
Using config file: /usr/src/usr.sbin/httpd/src/obj/Configuration
Creating Makefile
+ configured for OpenBSD platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o dbm_auth_module uses ConfigStart/End
o db_auth_module uses ConfigStart/End
using Berkeley-DB/1.x for mod_auth_db (-lc)
+ doing sanity check on compiler and options
Creating Makefile in support
Creating Makefile in main
Creating Makefile in ap
Creating Makefile in regex
Creating Makefile in os/unix
Creating Makefile in modules/standard
make
===> os/unix
cc -c -I../../os/unix -I../../include -O2 os.c
In file included from os.c:6:
../../include/ap_config.h:1025: syntax error before `*'
../../include/ap_config.h:1025: syntax error before `Sigfunc'
../../include/ap_config.h:1025: warning: data definition has no type or storage class
os.c: In function `ap_os_dso_load':
os.c:110: warning: passing arg 1 of `dlopen' discards `const' from pointer target type
*** Error code 1
Stop in /usr/src/usr.sbin/httpd/src/obj/os/unix.
*** Error code 1
Stop in /usr/src/usr.sbin/httpd/src/obj.
*** Error code 1
Stop in /usr/src/usr.sbin/httpd/src.
*** Error code 1
Stop in /usr/src/usr.sbin/httpd.
*** Error code 1
Stop in /usr/src/usr.sbin.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
openbsd23#
============================================================================
>
> If you try to do something like "cd /usr/src/usr.sbin; make" it will
> fail for several reasons; e.g. wrong system headers, wrong system
> libraries. Also, you MUST build and install a kernel before building
> sources.
>
> See the good mini-faq at
>
> http://www.codetalker.com/greenbox/docs/compile-24-minifaq.html
>
> // marc
>
> > multiple declarations. I tried to hack around it but I hit another. Does
> > it look broken to you. If not, have any idea what I have to install from
> > /usr/src to get it to compile. I've compiled and installed:
> > /usr/lib
> > /usr/gnu
> > /usr/include
> > /sbin
> >
> > Now trying to update /usr.bin. Soon I'd like to try doing a make insall
> > of /usr/src. Any suggestions?
> >
> > -piet
> >
> > traceroute to www.openbsd.org (129.128.9.88), 30 hops max, 40 byte packets
> > 1 router1.Market.NET (140.174.206.1) 27 ms 10 ms 8 ms
> > 2 core2-serial5-1.mv.best.net (140.174.26.13) 13 ms 25 ms 20 ms
> > 3 core1-fddi11-0.mv.best.net (206.184.188.1) 11 ms 11 ms 14 ms
> > 4 sl-gw2-sj-1-0.sprintlink.net (144.228.111.5) 20 ms 17 ms 27 ms
> > 5 sl-bb10-sj-1-2-155M.sprintlink.net (144.232.3.37) 11 ms 32 ms 24 ms
> > 6 sl-bb21-ana-3-0.sprintlink.net (144.232.8.129) 22 ms 23 ms 21 ms
> > 7 sl-bb21-stk-6-0.sprintlink.net (144.232.8.89) 52 ms 33 ms 100 ms
> > 8 sl-bb22-stk-8-0.sprintlink.net (144.232.4.106) 77 ms 30 ms 123 ms
> > 9 sl-bb10-che-2-0.sprintlink.net (144.232.8.137) 55 ms 53 ms 112 ms
> > 10 sl-bb2-che-5-0-0.sprintlink.net (144.232.6.206) 90 ms 112 ms 109 ms
> > 11 * * *
> > 12 * * *
> > 13 * * *
> > 14 * *
>
>