Project

General

Profile

Actions

Bug #264

closed

Building lighttpd-1.4.3 fails on Solaris 8 (sparc)

Added by Anonymous over 19 years ago. Updated over 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

Building lighttpd-1.4.3 fails on Solaris 8 (sparc). Tested on two different hosts with gcc version 3.4.2. Compile seems to die at mod_staticfile. Interesting part of the errors below:

make[2]: Entering directory `/export/src/lighttpd-1.4.3/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DI
R="\"/usr/local/lighttpd/lib\"" -I. -I. -I..   -D_REENTRANT -I/usr/local/include
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -g -O2 -Wall -W -Wsh
adow -pedantic -MT mod_staticfile.lo -MD -MP -MF ".deps/mod_staticfile.Tpo" -c -
o mod_staticfile.lo mod_staticfile.c; \
then mv -f ".deps/mod_staticfile.Tpo" ".deps/mod_staticfile.Plo"; else rm -f ".d
eps/mod_staticfile.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/lighttpd/lib\" -I. -I. -I.. -D_R
EENTRANT -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARG
E_FILES -g -O2 -Wall -W -Wshadow -pedantic -MT mod_staticfile.lo -MD -MP -MF .de
ps/mod_staticfile.Tpo -c mod_staticfile.c  -fPIC -DPIC -o .libs/mod_staticfile.o
In file included from base.h:23,
from mod_staticfile.c:9:
fdevent.h:156: error: parse error before "fd_set" 
fdevent.h:156: warning: no semicolon at end of struct or union
fdevent.h:157: warning: type defaults to `int' in declaration of `select_write'
fdevent.h:157: error: ISO C forbids data definition with no type or storage clas
s
fdevent.h:158: error: parse error before "select_error" 
fdevent.h:158: warning: type defaults to `int' in declaration of `select_error'
fdevent.h:158: error: ISO C forbids data definition with no type or storage clas
s 

-- tuupola

Added by jan over 19 years ago

Revision 720 (diff)

include <sys/select.h> if available (fixes #264, #275)

Added by jan over 19 years ago

Revision c8a96492 (diff)

include <sys/select.h> if available (fixes #264, #275)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@720 152afb58-edef-0310-8abb-c4023f1b3aa9

Actions

Also available in: Atom