Project

General

Profile

Bug #1029

closed

r1645 with patch from ticket 1028 fails to link on Solaris/nexenta alpha 6

Added by yusufg over 13 years ago. Updated over 13 years ago.

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

Description


gcc -pthreads -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -o lighttpd server.o response.o connections.o network.o configfile.o configparser.o request.o proc_open.o buffer.o log.o keyvalue.o chunk.o filter.o stream.o fdevent.o stat_cache.o plugin.o joblist.o etag.o array.o data_string.o data_count.o data_array.o data_integer.o md5.o fdevent_select.o fdevent_linux_rtsig.o fdevent_poll.o fdevent_linux_sysepoll.o fdevent_solaris_devpoll.o fdevent_freebsd_kqueue.o data_config.o bitset.o inet_ntop_cache.o crc32.o connections-glue.o iosocket.o configfile-glue.o status_counter.o http-header-glue.o network_write.o network_linux_sendfile.o network_freebsd_sendfile.o network_writev.o network_solaris_sendfilev.o network_openssl.o network_linux_aio.o network_posix_aio.o network_gthread_aio.o splaytree.o http_resp.o http_resp_parser.o http_req.o http_req_parser.o http_req_range.o http_req_range_parser.o -pthread -pthreads -Wl,--export-dynamic  -L/usr/lib -lpcre -lsendfile /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libintl.so -lc /usr/lib/libiconv.so -lresolv -lsocket -Wl,--rpath -Wl,/usr/lib
gcc: unrecognized option '-pthread'
fdevent_solaris_devpoll.o: In function `fdevent_solaris_devpoll_get_revents':/usr/local/src/lighty-trunk/src/fdevent_solaris_devpoll.c:84: undefined reference to `SEGFAULT'
collect2: ld returned 1 exit status
make[2]: *** [lighttpd] Error 1
make[2]: Leaving directory `/usr/local/src/lighty-trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/lighty-trunk'
make: *** [all] Error 2

Googling found me this link which may point in the right direction
http://www.ssl.berkeley.edu/pipermail/boinc_opt/2005-March/000185.html

#1

Updated by jakabosky over 13 years ago

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

fixed in r1646

Also available in: Atom