> After all this, the compilation process began, and stopped
>at:
>
>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
>-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\" -g -O2 -c -o
>IMon.o `test -f 'IMon.c++' || echo './'`IMon.c++
>IMon.c++:38:29: sys/sysmacros.h: No such file or directory
Ok.. so replying to my own mail:
replace all occurences of
#include <sys/sysmacros.h>
with
#include <sys/types.h>
Solved the problem.
Next problem to compile on 10.3 seems to be related to the
compiler I'm using ... and I don't really know how to fix this;
OKs-Computer:/sw/src/fam/fam-2.6.10-patched/fam ikal$ gcc
--version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Makefile:483: 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 Listener.o
`test -f 'Listener.c++' || echo './'`Listener.c++
In file included from RequestMap.h:26,
from MxClient.h:27,
from TCP_Client.h:27,
from LocalClient.h:26,
from Listener.c++:43:
../include/BTree.h:241: warning: `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: `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: `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: `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: `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: `BTree<Key, Value>::Status' is implicitly a
typename
../include/BTree.h:592: warning: implicit typename is deprecated, please see
the documentation for details
Listener.c++: In static member function `static void
Listener::create_local_client(TCP_Client&, unsigned int)':
Listener.c++:208: error: `tempnam' undeclared (first use this function)
Listener.c++:208: error: (Each undeclared identifier is reported only once for
each function it appears in.)
Listener.c++:212: warning: invalid conversion from `const char*' to `unsigned
char'
Listener.c++: In static member function `static void
Listener::accept_localclient(int, void*)':
Listener.c++:286: warning: invalid conversion from `const char*' to `unsigned
char'
Listener.c++: In member function `void Listener::dirty_ugly_hack()':
Listener.c++:352: warning: invalid conversion from `const char*' to `unsigned
char'
make: *** [Listener.o] Error 1
|