Opened 16 years ago

Last modified 15 years ago

#15453 closed defect

cglib user strndup wich is not available — at Initial Version

Reported by: marcelo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: cgilib

Description

Cgilib is using strndup internally, wich is not available in macosx.

This make cgilib detection with AC_CHECK_LIB impossible.

configure:6931: result: no configure:6943: checking for cgiHeader in -lcgi configure:6978: gcc -o conftest -g -O2 -L/opt/local/lib conftest.c -lcgi >&5 Undefined symbols:

"_strndup", referenced from:

_cgiReadMultipart in libcgi.a(cgi.o) _cgiReadMultipart in libcgi.a(cgi.o)

ld: symbol(s) not found

Change History (0)

Note: See TracTickets for help on using tickets.