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: Wed, 26 Nov 2003 17:44:47 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3

Dear all,

I've tried on my ibook Mac OS X 10.2.8 with fink installed. Most of other parts are compiled successful but libGIFTAcPerl and GIFTServer. And the following messages are the error while compile.

I'm using gift-0.1.9 source code.

First install some needed programs by fink.

sudo apt-get install gengetopt getopt-long-pm libgnugetopt libgnugetopt-shlibs bash glib orbit orbit-dev orbit-shlibs dlcompat-dev dlcompat-shlibs dlcompat

And there is document about porting under Mac OS X.

http://developer.apple.com/technotes/tn2002/tn2071.html

I just change some .h files:
modify dlfcn.h -> /sw/include/dlfcn.h
modify getopt.h -> unistd.h
modify malloc.h -> stdlib.h



libGIFTAcPerl

CAFPerl.cc: In method `class CAccessor * CAFPerl::makeAccessor(const CXMLElement
&) const':
CAFPerl.cc:8: cannot allocate an object of type `CAcPerl'
CAFPerl.cc:8:   since the following virtual functions are abstract:
../../libMRML/include/CAccessor.h:107: void CAccessor::getRandomIDs(list<long i
nt,allocator<long int> > &, long unsigned int) const
../../libMRML/include/CAccessor.h:117: void CAccessor::getRandomAccessorElement s(list<CAccessorElement,allocator<CAccessorElement> > &, long unsigned int) cons
t
make[1]: *** [CAFPerl.lo] Error 1
make: *** [all-recursive] Error 1

GIFTServer

Making all in gift-config
make[1]: Nothing to be done for `all'.
Making all in gift-mrml-messages
make[1]: Nothing to be done for `all'.
source='Server.cc' object='Server.o' libtool=no \
depfile='.deps/Server.Po' tmpdepfile='.deps/Server.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libMRML/include -I../libGIFTAcInvertedFile /include -I../libGIFTAcURL2FTS/include -I. -I. -g -O2 -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -D __GIFT_WITH_PERL__ -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -D HAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/System/Library/Perl/darwin/CORE -c
-o Server.o `test -f Server.cc || echo './'`Server.cc
Server.cc:507: warning: #warning "threading blocked"
In file included from Server.cc:448:
CTCPSocket.h:64: field `mSocketAddress' has incomplete type
Server.cc: In method `bool CSFGift::operator ()(int)':
Server.cc:470: `socklen_t' undeclared (first use this function)
Server.cc:470: (Each undeclared identifier is reported only once
Server.cc:470: for each function it appears in.)
Server.cc:470: parse error before `('
Server.cc:473: `lNameLen' undeclared (first use this function)
Server.cc:474: invalid use of undefined type `struct sockaddr_in'
CTCPSocket.h:64: forward declaration of `struct sockaddr_in'
Server.cc: In function `int main(int, char **)':
Server.cc:542: elements of array `struct option long_options[]' have incomplete type
Server.cc:544: `required_argument' undeclared (first use this function)
Server.cc:546: `no_argument' undeclared (first use this function)
make[1]: *** [Server.o] Error 1
make: *** [all-recursive] Error 1







reply via email to

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