From owner-freebsd-questions Mon Jul 23 14:47:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from spread.infobutter.com (spread.infobutter.com [207.76.173.55]) by hub.freebsd.org (Postfix) with ESMTP id 545A537B403 for ; Mon, 23 Jul 2001 14:47:35 -0700 (PDT) (envelope-from mjoseff@infobutter.com) Received: from spread.infobutter.com (spread.infobutter.com [207.76.173.55]) by spread.infobutter.com (8.11.1/8.11.1) with ESMTP id f6NLsPr51140 for ; Mon, 23 Jul 2001 17:54:26 -0400 (EDT) (envelope-from mjoseff@infobutter.com) Date: Mon, 23 Jul 2001 17:54:22 -0400 (EDT) From: Matthew Joseff To: Subject: gcc crapping? Message-ID: X-OS: FreeBSD MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When configuring apache . . . any clues? [spread:/usr/local/src/apache_1.3.20]./configure --prefix=/www --activate-module=src/modules/frontpage/mod_frontpage.o --activate-module=src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.20 + using installation path layout: Apache (config.layout) + activated frontpage module (modules/frontpage/mod_frontpage.o) + activated php4 module (modules/php4/libphp4.a) + + Warning: You will have to change the value of the "User" directive + in your httpd.conf file to a value of "www" to run the + Frontpage Server Extensions. Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 4.3 platform + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. cd ..; gcc -funsigned-char -I/usr/local/src/php-4.0.6 -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6/Zend -I/usr/local/src/php-4.0.6/Zend -I/usr/local/src/php-4.0.6/TSRM -I/usr/local/src/php-4.0.6/TSRM -I/usr/local/src/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -R/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-client4 -lpam -lcrypt -lm -lcrypt /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged' /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror' /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub' /usr/local/lib/libc-client4.so: undefined reference to `mm_flags' /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal' /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical' /usr/local/lib/libc-client4.so: undefined reference to `mm_notify' /usr/local/lib/libc-client4.so: undefined reference to `mm_searched' /usr/local/lib/libc-client4.so: undefined reference to `mm_status' /usr/local/lib/libc-client4.so: undefined reference to `mm_login' /usr/local/lib/libc-client4.so: undefined reference to `mm_list' /usr/local/lib/libc-client4.so: undefined reference to `mm_critical' /usr/local/lib/libc-client4.so: undefined reference to `mm_exists' /usr/local/lib/libc-client4.so: undefined reference to `mm_log' /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog' *** Error code 1 Stop in /usr/local/src/apache_1.3.20/src/helpers. ======== Error Output for sanity check ======== ============= End of Error Report ============= Aborting! [spread:/usr/local/src/apache_1.3.20]gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) [spread:/usr/local/src/apache_1.3.20]cat config.status #!/bin/sh ## ## config.status -- APACI auto-generated configuration restore script ## ## Use this shell script to re-run the APACI configure script for ## restoring your configuration. Additional parameters can be supplied. ## CC="gcc" \ ./configure \ "--with-layout=Apache" \ "--prefix=/www" \ "--activate-module=src/modules/frontpage/mod_frontpage.o" \ "--activate-module=src/modules/php4/libphp4.a" \ "$@" [spread:/usr/local/src/apache_1.3.20]uname -a FreeBSD spread.infobutter.com 4.3-RC FreeBSD 4.3-RC #3: Tue Apr 17 14:13:44 EDT 2001 root@spread.infobutter.com:/usr/src/sys/compile/INFOBUTTER i386 -- Matthew Joseff www.infobutter.com mjoseff@infobutter.com "The instructions said 'Windows 98 or better' . . . so I installed FreeBSD" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message