Project

General

Profile

Actions

Bug #1960

closed

Cannot compile on opensolaris

Added by edogawaconan over 15 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Target version:
-

Description

Neither gcc4 (from blastwave.org) nor sunstudio 12 works.
error message (more detail at attached log)
ld: fatal: Symbol referencing errors. No output written to spawn-fcgi

Using gnu ld doesn't help either


Files

buildlog.txt (5.46 KB) buildlog.txt configure and compile log edogawaconan, 2009-04-13 04:48
builderror-gnuld.txt (1.52 KB) builderror-gnuld.txt error message with gnu.ld edogawaconan, 2009-04-13 04:48
config.log (39 KB) config.log edogawaconan, 2009-04-13 04:51
buildlog2 (12.1 KB) buildlog2 edogawaconan, 2009-04-14 15:44
config.log (40.6 KB) config.log edogawaconan, 2009-04-14 15:44
workinglog (5.27 KB) workinglog edogawaconan, 2009-04-14 15:44
Actions #1

Updated by darix over 15 years ago

LDFLAGS="-lsocket" ./configure ...
should fix that

Actions #2

Updated by edogawaconan over 15 years ago

trying

Actions #3

Updated by edogawaconan over 15 years ago

still error

[edho@genshiken spawn-fcgi-1.6.2]$ gmake
gmake all-recursive
gmake1: Entering directory `/export/home/edho/src/spawn-fcgi-1.6.2'
Making all in src
gmake2: Entering directory `/export/home/edho/src/spawn-fcgi-1.6.2/src'
source='spawn-fcgi.c' object='spawn-fcgi.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I.. -g -c spawn-fcgi.c
cc -g -lsocket -o spawn-fcgi spawn-fcgi.o
Undefined first referenced
symbol in file
inet_addr spawn-fcgi.o (symbol belongs to implicit dependency /lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to spawn-fcgi
gmake2: * [spawn-fcgi] Error 1
gmake2: Leaving directory `/export/home/edho/src/spawn-fcgi-1.6.2/src'
gmake1:
[all-recursive] Error 1
gmake1: Leaving directory `/export/home/edho/src/spawn-fcgi-1.6.2'
gmake: *
* [all] Error 2

Actions #4

Updated by darix over 15 years ago

LDFLAGS="-lsocket -lnsl" ./configure ...
should fix that

Actions #5

Updated by edogawaconan over 15 years ago

it works now. Perhaps make it default in the future?

Actions #6

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r43.

Actions #7

Updated by edogawaconan over 15 years ago

stbuehler wrote:

Applied in changeset r43.

apparently the change doesn't help

Actions #8

Updated by stbuehler over 15 years ago

Perhaps you have to rerun autogen.sh; if that doesn't help show us the configure + build logs.

Updated by edogawaconan over 15 years ago

autogen.sh doesn't work (in fact I built it before without autogen)

edho@genshiken:~/src/spawn-fcgi-1.6.2$ ./autogen.sh
./autogen.sh: running `aclocal'
./autogen.sh17: aclocal: not found [No such file or directory]

config and build log attached. Also attached build log with LDFLAGS manually declared when ./configure

Actions #10

Updated by stbuehler over 15 years ago

If you don't have all needed auto-tools you will have to wait for the next snapshot/release/whatever, you cannot test svn checkouts without them.

Actions

Also available in: Atom