[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: 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.

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

libGIFTAcPerl In method `class CAccessor * CAFPerl::makeAccessor(const CXMLElement
&) const': cannot allocate an object of type `CAcPerl'   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
make[1]: *** [CAFPerl.lo] Error 1
make: *** [all-recursive] Error 1


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='' 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 || echo './'` warning: #warning "threading blocked"
In file included from
CTCPSocket.h:64: field `mSocketAddress' has incomplete type In method `bool CSFGift::operator ()(int)': `socklen_t' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) parse error before `(' `lNameLen' undeclared (first use this function) invalid use of undefined type `struct sockaddr_in'
CTCPSocket.h:64: forward declaration of `struct sockaddr_in' In function `int main(int, char **)': elements of array `struct option long_options[]' have incomplete type `required_argument' undeclared (first use this function) `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]