Subject: building apache-1.3.29nb2 from pkgsrc on 1.6ZH
To: None <>
From: Michael G. Schabert <>
List: current-users
Date: 05/15/2004 21:14:06
Hi guys,
I recently went through pkg_chk -i and pkg_deleted & re-made packages 
from pkgsrc on my AlphaStation 200 4/166 running 1.6ZH. Most have 
gone OK so far. I seem to be having an issue making 
/usr/pkgsrc/www/apache not finding libgcc_s files to link to.

alpha# head -n 1 /usr/pkgsrc/www/apache/Makefile
# $NetBSD: Makefile,v 1.141 2004/04/07 22:35:01 tron Exp $
alpha# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Building for apache-1.3.29nb2
===> src
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> src/main
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
<=== src/modules/standard
===> src/modules/extra
<=== src/modules/extra
===> src/modules/proxy
<=== src/modules/proxy
<=== src/modules
gcc -c -I/usr/pkg/include -I./os/unix -I./include 
FFSET_BITS=64 -DNETBSD -DEAPI -DEAPI_MM -O2 -mieee -I/usr/pkg/include `./apaci`
gcc -c -I/usr/pkg/include -I./os/unix -I./include 
FFSET_BITS=64 -DNETBSD -DEAPI -DEAPI_MM -O2 -mieee -I/usr/pkg/include `./apaci`
-DEAPI_MM -O2 -mi
eee -I/usr/pkg/include `./apaci` -L/usr/pkg/lib -L/usr/pkg/lib 
b  -lgcc_s -Wl,-E  -o httpd buildmark.o modules.o 
a  main/libmain.a  ./os/unix/libos.a  ap/libap.a    -lcrypt -lmm -lexpat
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache/work/apache_1.3.29/src
(skipping a few more stop/error lines...I have done make clean & 
remaking, same result)
alpha# locate gcc_s
(skipping a bunch of /usr/src/gnu/lib/libgcc3/libgcc_s 
files...nothing listed in actual /usr/lib)
alpha# gcc -v
Using built-in specs.
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure 
ong --disable-multilib --enable-threads --build=alpha-unknown-netbsd 
a--netbsd --target=alpha--netbsd
Thread model: posix
gcc version 3.3.2 (NetBSD nb1 20031026)

Should my installation already have /usr/lib/ files? I'll 
be updating to a more recent -curent soon and will try again then (my 
sources are out of date & I'm on dial-up), but any help greatly 
appreciated in advance.

Bikers don't *DO* taglines.