Hi, I'm compiling DCMTK libraries under MAC OS X using fink package.
The library run until this error appear on the screen:
cd config && make ARCH="" DESTDIR="" all)
make[1]: Nothing to be done for `all'.
(cd ofstd && make ARCH="" DESTDIR="" all)
(cd include; make ARCH="" all)
make[2]: Nothing to be done for `all'.
(cd libsrc; make ARCH="" all)
g++-4.0 -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include -I../../config/include \
-I/sw/include -O -I/sw/include/libxml2 -I/sw/include -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L oflist.cc
g++-4.0 -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include -I../../config/include \
-I/sw/include -O -I/sw/include/libxml2 -I/sw/include -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L ofstring.cc
/usr/include/bsm/audit.h:224: error: expected ';' before '*' token
/usr/include/bsm/audit.h:234: error: expected ';' before '*' token
/usr/include/sys/ucred.h:90: error: 'u_long' does not name a type
/usr/include/sys/ucred.h:130: error: 'u_int' does not name a type
/usr/include/sys/attr.h:75: error: 'u_short' does not name a type
/usr/include/sys/attr.h:411: error: 'u_long' does not name a type
/usr/include/sys/attr.h:423: error: 'u_char' does not name a type
make[2]: *** [ofstring.o] Error 1
make[1]: *** [libsrc-all] Error 2
make: *** [ofstd-all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-dcmtk-3.5.4-1001
(Lettura del database ... 8667 file e directory attualmente installati.)
Rimozione di fink-buildlock-dcmtk-3.5.4-1001 ...
Failed: phase compiling: dcmtk-3.5.4-1001 failed
What can I do? Thank you for your answers and sorry for my english!!
Error compiling DCMTK
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest