[Top][All Lists]

[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
CTCPSocket.h:64: error: field `mSocketAddress' has incomplete type warning: #warning "threading blocked" In member function `virtual bool CSFGift::operator()(int)': 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:

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

# make

Encounter CDomain error.

#vi Makefile Remove all CDomain releated stuff.

-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/ 
/Users/gift/cvs/gift/libMRML/cc//.libs/libMRML.0.3.0 -ldl -L/usr/local/lib 
-lpthread -lm
ld: Undefined symbols:
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]