help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-GIFT] GIFT on Mac OS X


From: Seventeen
Subject: [help-GIFT] GIFT on Mac OS X
Date: Fri, 27 Feb 2004 01:39:37 +0800
User-agent: Mozilla Thunderbird 0.5 (X11/20040209)

Dear Wolfgang Müller,

I solved some problem. And it seems the finally step of compile GIFTServer.
It's late here in Taiwan now.

Go back home :)

Following is my compiling log.

get source from cvs

# make

Encounter XML... and lack of expat.h error.

copy /sw/include/expat.h

# make

cp /usr/include/malloc/malloc.h libSquirePPM/.

These include files are from linux

cp /Users/s7n/values.h libSquirePPM/.
cp /Users/s7n/features.h libSquirePPM/.
cp /Users/s7n/stubs.h libSquirePPM/gnu/.

# make

In file included from Server.cc:449:
CTCPSocket.h:64: error: field `mSocketAddress' has incomplete type
Server.cc:508:2: warning: #warning "threading blocked"
Server.cc: In member function `virtual bool CSFGift::operator()(int)':
Server.cc:475: error: invalid use of undefined type `struct sockaddr_in'
CTCPSocket.h:64: error: forward declaration of `struct sockaddr_in'
make[3]: *** [Server.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1

According to the following url:

http://www.macdevcenter.com/pub/a/mac/2002/12/26/cocoa.html?page=3

Add one line in CTCPSocket.h
#include <netinet/in.h>

# make

Encounter CDomain error.

#vi Makefile Remove all CDomain releated stuff.

g++ -g -O2 -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 
-DEF_FILL=42 -o .libs/gift Server.o CSocket.o CTCPSocket.o processMessage.o 
CProcessMessageParameters.o CMultiServer.o  -lstdc++ 
-L/Users/gift/cvs/gift/libMRML/cc/ -L/Users/gift/cvs/gift/libGIFTAcPerl/cc/ 
-L/Users/gift/cvs/gift/libGIFTQuPerl/cc/ 
-L/Users/gift/cvs/gift/libGIFTAcInvertedFile/cc/ 
-L/Users/gift/cvs/gift/libGIFTAcHierarchy/cc/ 
-L/Users/gift/cvs/gift/libGIFTAcDistanceMatrix/cc/ 
-L/Users/gift/cvs/gift/libGIFTQuInvertedFile/cc/ 
-L/Users/gift/cvs/gift/libGIFTQuBayesian/cc/ 
-L/Users/gift/cvs/gift/libGIFTQuHierarchy/cc/ 
-L/Users/gift/cvs/gift/libGIFTAcURL2FTS/cc/ 
/Users/gift/cvs/gift/libGIFTQuPerl/cc//.libs/libGIFTQuPerl.0.0.0 
/Users/gift/cvs/gift/libGIFTAcPerl/cc//.libs/libGIFTAcPerl.0.0.0 
/Users/gift/cvs/gift/libMRML/cc//.libs/libMRML.0.3.0 -ldl -L/usr/local/lib 
-lpthread -lm
ld: Undefined symbols:
_XML_ErrorString
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_Parse
_XML_ParserCreate
_XML_ParserFree
_XML_SetElementHandler
_XML_SetUserData
_XML_SetCharacterDataHandler
make[1]: *** [gift] Error 1
make: *** [all-recursive] Error 1


--
Seventeen Chen RHCE Graduate Institute of Medical Informatics Center for Biomedical Informatics
Taipei Medical University
250 Wu Hsing Street Taipei City 110 TAIWAN TEL:+886-2-23776730 ext 107 Fax: +886-2-27279049 E-mail: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]