Hello
I have downloaded FAM version fam-2.7.0.tar.gz
When compiling the FAM project, I have some problems:
Making all in lib
source='Client.c++' object='Client.lo' libtool=yes \
depfile='.deps/Client.Plo' tmpdepfile='.deps/Client.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -DFAM_CONF=\"/home/pers/fam/etc/f
am.conf\" -g -O2 -c -o Client.lo `test -f 'Client.c++' || echo
'./'`Client.c++
rm -f .libs/Client.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DFAM_CONF=\"/home/pers/fam/etc/fam.conf\" -g -O2 -c Client.c++ -MT Client.l
o -MD -MP -MF .deps/Client.TPlo -fPIC -DPIC
In file included from /usr/local/include/c++/4.1.1/backward/iostream.h:31,
from Client.c++:37:
/usr/local/include/c++/4.1.1/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecate
d or antiquated header. Please consider using one of the 32 headers found in
section 17.4.1.2 of the C++ standard. Example
s include substituting the <X> header for the <X.h> header for C++ includes,
or <iostream> instead of the deprecated heade
r <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/local/include/c++/4.1.1/iosfwd:49,
from /usr/local/include/c++/4.1.1/ios:43,
from /usr/local/include/c++/4.1.1/ostream:44,
from /usr/local/include/c++/4.1.1/iostream:44,
from /usr/local/include/c++/4.1.1/backward/iostream.h:32,
from Client.c++:37:
/usr/local/include/c++/4.1.1/bits/postypes.h:49:35: error: stdint.h: No such
file or directory
/usr/include/rpc/pmap_prot.h:135: error: conflicting declaration 'typedef
struct pm__list pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: 'struct pmaplist' has a previous
declaration as 'struct pmaplist'
Client.c++:42: error: 'u_int32_t' has not been declared
Client.c++: In constructor 'Client::Client(long int, unsigned int, int)':
Client.c++:65: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:67: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:68: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:70: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:72: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:73: error: invalid use of undefined type 'struct pmaplist'
/usr/include/rpc/pmap_clnt.h:84: error: forward declaration of 'struct
pmaplist'
Client.c++:118: error: 'u_int32_t' was not declared in this scope
Client.c++:122: error: expected `;' before 'nmsglen'
Client.c++:123: error: 'nmsglen' was not declared in this scope
Client.c++:150: error: expected `;' before 'mlen'
Client.c++:151: error: 'mlen' was not declared in this scope
Client.c++: In member function 'int Client::writeToServer(char*, int)':
Client.c++:207: error: 'u_int32_t' was not declared in this scope
Client.c++:209: error: 'msgHeader' was not declared in this scope
Client.c++: In member function 'int Client::nextEvent(FAMEvent*)':
Client.c++:236: error: 'u_int32_t' was not declared in this scope
Client.c++:236: error: expected `;' before 'msglen'
Client.c++:237: error: 'msglen' was not declared in this scope
Client.c++: In member function 'void Client::checkBufferForEvent()':
Client.c++:409: error: 'u_int32_t' was not declared in this scope
Client.c++:409: error: expected `;' before 'msglen'
Client.c++:411: error: 'msglen' was not declared in this scope
Client.c++: At global scope:
Client.c++:438: error: 'u_int32_t' has not been declared
Client.c++: In function 'void getword(const char*, int*)':
Client.c++:440: error: 'u_int32_t' was not declared in this scope
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Could you help me?
Tank you very much.
_________________________________________________________________
Les révélations de la starac 6 commentées par Jérémy!
http://starac2006.spaces.live.com/
|