Project

General

Profile

Actions

Bug #1026

closed

compilation of r1641 fails on nexenta alpha6

Added by yusufg about 17 years ago. Updated about 17 years ago.

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

Description

configure command is
./configure --prefix=/usr/local/site/lighty --disable-ipv6

if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/site/lighty/lib\"" -I. -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -pthreads -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT fdevent_solaris_devpoll.o -MD -MP -MF ".deps/fdevent_solaris_devpoll.Tpo" -c -o fdevent_solaris_devpoll.o fdevent_solaris_devpoll.c; \
then mv -f ".deps/fdevent_solaris_devpoll.Tpo" ".deps/fdevent_solaris_devpoll.Po"; else rm -f ".deps/fdevent_solaris_devpoll.Tpo"; exit 1; fi
In file included from /usr/include/glib-2.0/glib.h:70,
from settings.h:29,
from fdevent.h:7,
from fdevent_solaris_devpoll.c:10:
/usr/include/glib-2.0/glib/gthreadpool.h:88: warning: declaration of 'wait' shadows a global declaration
/usr/include/sys/wait.h:100: warning: shadowed declaration is here
fdevent_solaris_devpoll.c: In function 'fdevent_solaris_devpoll_free':
fdevent_solaris_devpoll.c:18: warning: implicit declaration of function 'close'
fdevent_solaris_devpoll.c: In function 'fdevent_solaris_devpoll_event_del':
fdevent_solaris_devpoll.c:32: warning: implicit declaration of function 'write'
fdevent_solaris_devpoll.c: In function 'fdevent_solaris_devpoll_poll':
fdevent_solaris_devpoll.c:72: warning: implicit declaration of function 'ioctl'
fdevent_solaris_devpoll.c: In function 'fdevent_solaris_devpoll_init':
fdevent_solaris_devpoll.c:124: warning: assignment from incompatible pointer type
fdevent_solaris_devpoll.c:125: warning: assignment from incompatible pointer type
fdevent_solaris_devpoll.c:127: error: 'struct fdevents' has no member named 'event_next_fdndx'
fdevent_solaris_devpoll.c:128: error: 'struct fdevents' has no member named 'event_get_fd'
fdevent_solaris_devpoll.c:129: error: 'struct fdevents' has no member named 'event_get_revent'
maker2: * fdevent_solaris_devpoll.o Error 1
maker2: Leaving directory `/usr/local/src/lighty-trunk/src'
maker1:
all-recursive Error 1
maker1: Leaving directory `/usr/local/src/lighty-trunk'
make: *
* all Error 2

Actions #1

Updated by Anonymous about 17 years ago

with revision 1642, I get a compile error at this point

if gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/site/lighty/lib\"" -I. -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -pthreads -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT network_solaris_sendfilev.o -MD -MP -MF ".deps/network_solaris_sendfilev.Tpo" -c -o network_solaris_sendfilev.o network_solaris_sendfilev.c; \
then mv -f ".deps/network_solaris_sendfilev.Tpo" ".deps/network_solaris_sendfilev.Po"; else rm -f ".deps/network_solaris_sendfilev.Tpo"; exit 1; fi
network_solaris_sendfilev.c: In function 'network_write_chunkqueue_solarissendfilev':
network_solaris_sendfilev.c:51: error: 'fd' undeclared (first use in this function)
network_solaris_sendfilev.c:51: error: (Each undeclared identifier is reported only once
network_solaris_sendfilev.c:51: error: for each function it appears in.)
network_solaris_sendfilev.c:51: warning: passing argument 5 of 'network_write_chunkqueue_writev_mem' from incompatible pointer type
network_solaris_sendfilev.c:41: warning: unused parameter 'sock'
maker2: * network_solaris_sendfilev.o Error 1
maker2: Leaving directory `/usr/local/src/lighty-trunk/src'
maker1:
all-recursive Error 1
maker1: Leaving directory `/usr/local/src/lighty-trunk'
make: *
* all Error 2

-- yusufg

Actions #2

Updated by jakabosky about 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1646

Actions

Also available in: Atom