Opened 18 years ago
Closed 18 years ago
#10118 closed defect (fixed)
darwintrace has bogus definition of readlink, breaks build on Panther
Reported by: | yaseppochi (Stephen J. Turnbull) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
DarwinPorts base updated from CVS 2006-07-26 18:00 JST.
make[2]: Entering directory `/Users/steve/Software/Ports/base/src/darwintracelib1.0' gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -I/usr/include -DDARWINTRACE_LOG_CREATE -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common darwintrace.c -o darwintrace.o darwintrace.c:435: error: conflicting types for `readlink' /usr/include/unistd.h:240: error: previous declaration of `readlink' make[2]: * [darwintrace.o] Error 1 make[2]: Leaving directory `/Users/steve/Software/Ports/base/src/darwintracelib1.0' make[1]: * [all] Error 1 make[1]: Leaving directory `/Users/steve/Software/Ports/base/src' make: * [all] Error 1
Changing the declaration of readlink on l. 435 to that in unistd.h allows the build to succeed.
Change History (1)
comment:1 Changed 18 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This bug has been fixed with a test of the compliance of the system with POSIX standard.