fam
[Top] [All Lists]

FAM-2.6.10, compile, error, libfam, Solaris 7

To: fam@xxxxxxxxxxx
Subject: FAM-2.6.10, compile, error, libfam, Solaris 7
From: Rolf Sponsel <Rolf.Sponsel@xxxxxxxxxxx>
Date: Tue, 29 Apr 2003 17:59:27 +0200
Sender: fam-bounce@xxxxxxxxxxx
* SPARC/Solaris 7 * gcc-3.2.2 * FAM-2.6.10 *

Hello List Members,

I've "patched" my file system with a link in '/usr/include',
'mntent.h' -> 'sys/mntent.h', necessary to make 'configure'
succeed.

Now I'm having problems compiling FAM on SPARC/Solaris 7.

ok! - libsupport.a      seems to compile fine           !!!
err - libfam            seems to fail to compile        ???

Below I've pasted the output from 'make'.
If necessary, I can provide the output
from 'configure' too, or an include file,
upon request if that would be to any help.

Any help with this would be very much appreciated,
so I at least can build FAM and add FAM support to,
whatever it was that made me slip into FAM ... aah
right, gnome-vfs-2.2.3.

Kind Regards

-- 
----
------
--------

Rolf Sponsel

___________________________________________b_e_g___o_f___o_u_t_p_u_t___

host(18)# make

make  all-recursive

make[1]: Entering directory `/tmp/fam-2.6.10'

Making all in util

make[2]: Entering directory `/tmp/fam-2.6.10/util'

Making all in editconf

make[3]: Entering directory `/tmp/fam-2.6.10/util/editconf'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/tmp/fam-2.6.10/util/editconf'

make[3]: Entering directory `/tmp/fam-2.6.10/util'

make[3]: Nothing to be done for `all-am'.

make[3]: Leaving directory `/tmp/fam-2.6.10/util'

make[2]: Leaving directory `/tmp/fam-2.6.10/util'

Making all in include

make[2]: Entering directory `/tmp/fam-2.6.10/include'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/fam-2.6.10/include'

Making all in support

make[2]: Entering directory `/tmp/fam-2.6.10/support'

Makefile:338: no file name for `-include'

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"    -g -O2 -c -o
dummy.o `test -f 'dummy.c++' || echo './'`dummy.c++

rm -f libsupport.a

ar cru libsupport.a dummy.o 

ranlib libsupport.a

make[2]: Leaving directory `/tmp/fam-2.6.10/support'

Making all in libfam

make[2]: Entering directory `/tmp/fam-2.6.10/libfam'

/bin/ksh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"    -g
-O2 -c -o Client.lo `test -f 'Client.c++' || echo './'`Client.c++

mkdir .libs

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
"-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"" -g -O2 -c
Client.c++  -fPIC -DPIC -o .libs/Client.lo

In file included from
/usr/local/include/c++/3.2.2/backward/iostream.h:31,

                 from Client.c++:37:

/usr/local/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.

In file included from Client.h:27,

                 from Client.c++:40:

../include/BTree.h:241: warning: `typename BTree<Key, Value>::Closure'
is 

   implicitly a typename

../include/BTree.h:241: warning: implicit typename is deprecated, please
see 

   the documentation for details

../include/BTree.h:353: warning: `typename BTree<Key, Value>::Closure'
is 

   implicitly a typename

../include/BTree.h:353: warning: implicit typename is deprecated, please
see 

   the documentation for details

../include/BTree.h:409: warning: `typename BTree<Key, Value>::Closure'
is 

   implicitly a typename

../include/BTree.h:409: warning: implicit typename is deprecated, please
see 

   the documentation for details

../include/BTree.h:504: warning: `typename BTree<Key, Value>::Status' is 

   implicitly a typename

../include/BTree.h:504: warning: implicit typename is deprecated, please
see 

   the documentation for details

../include/BTree.h:562: warning: `typename BTree<Key, Value>::Closure'
is 

   implicitly a typename

../include/BTree.h:562: warning: implicit typename is deprecated, please
see 

   the documentation for details

../include/BTree.h:592: warning: `typename BTree<Key, Value>::Status' is 

   implicitly a typename

../include/BTree.h:592: warning: implicit typename is deprecated, please
see 

   the documentation for details

Client.c++:42: type specifier omitted for parameter `u_int32_t'

Client.c++:42: parse error before `*' token

Client.c++: In constructor `Client::Client(long int, unsigned int,
int)':

Client.c++:118: `u_int32_t' undeclared (first use this function)

Client.c++:118: (Each undeclared identifier is reported only once for
each 

   function it appears in.)

Client.c++:122: parse error before `=' token

Client.c++:123: `nmsglen' undeclared (first use this function)

Client.c++:132: parse error before numeric constant

Client.c++:133: non-lvalue in unary `&'

Client.c++:134: request for member `sun_family' in `1', which is of 

   non-aggregate type `int'

Client.c++:138: request for member `sun_path' in `1', which is of
non-aggregate 

   type `int'

Client.c++:150: parse error before `;' token

Client.c++:151: `mlen' undeclared (first use this function)

Client.c++:153: request for member `sun_path' in `1', which is of
non-aggregate 

   type `int'

Client.c++:172: request for member `sun_path' in `1', which is of
non-aggregate 

   type `int'

Client.c++:173: request for member `sun_path' in `1', which is of
non-aggregate 

   type `int'

Client.c++:185: non-lvalue in unary `&'

Client.c++: In member function `int Client::writeToServer(char*, int)':

Client.c++:209: `msgHeader' undeclared (first use this function)

Client.c++: In member function `int Client::nextEvent(FAMEvent*)':

Client.c++:236: `u_int32_t' undeclared (first use this function)

Client.c++:236: parse error before `;' token

Client.c++:237: `msglen' undeclared (first use this function)

Client.c++: In member function `void Client::checkBufferForEvent()':

Client.c++:409: parse error before `=' token

Client.c++: At global scope:

Client.c++:438: type specifier omitted for parameter `u_int32_t'

Client.c++:438: parse error before `*' token

Client.c++: In function `void getword(...)':

Client.c++:440: `l' undeclared (first use this function)

Client.c++:440: `p' undeclared (first use this function)

make[2]: *** [Client.lo] Error 1

make[2]: Leaving directory `/tmp/fam-2.6.10/libfam'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/tmp/fam-2.6.10'

make: *** [all] Error 2

host(19)# 

___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_

<Prev in Thread] Current Thread [Next in Thread>
  • FAM-2.6.10, compile, error, libfam, Solaris 7, Rolf Sponsel <=