Hello group
I don't know why the same command "$make" for the 2
different systems with the same directory structure
and version of make are giveing different outputs.
in both cases the directory has the same exact files
and $make --version is GNU Make 3.8.0 and both have
the same directory structure.
Thanks
///////////////////////////////////////////////////
Windows Cygwin:
$make
g++ Generator.cc -DNDEBUG -Wall -o Generator
g++ ExternalSort.cc -DNDEBUG -Wall -I../lib -L../lib
-ltools -o ExternalSort
g++ Random.cc -DNDEBUG -Wall -I../lib -L../lib -ltools
-o Random
g++ ResourceUsage.cc -DNDEBUG -Wall -I../lib -L../lib
-ltools -o ResourceUsage
g++ PropertySet.cc -DNDEBUG -Wall -I../lib -L../lib
-ltools -o PropertySet
///////////////////////////////////////////////////
On debian Linxu 2.6.8
$make
g++ ExternalSort.cc -DNDEBUG -Wall -I../lib -L../lib
-ltools -o ExternalSort
../lib/libtools.a(Tools.o)(.text+0x3416): In function
`Tools::SharedLock::SharedLock[not-in-charge](_pthread_rwlock_t*)':
: undefined reference to `pthread_rwlock_rdlock'
../lib/libtools.a(Tools.o)(.text+0x3442): In function
`Tools::SharedLock::SharedLock[in-charge](_pthread_rwlock_t*)':
: undefined reference to `pthread_rwlock_rdlock'
../lib/libtools.a(Tools.o)(.text+0x346b): In function
`Tools::SharedLock::~SharedLock [not-in-charge]()':
: undefined reference to `pthread_rwlock_unlock'
../lib/libtools.a(Tools.o)(.text+0x3493): In function
`Tools::SharedLock::~SharedLock [in-charge]()':
: undefined reference to `pthread_rwlock_unlock'
../lib/libtools.a(Tools.o)(.text+0x34be): In function
`Tools::ExclusiveLock::ExclusiveLock[not-in-charge](_pthread_rwlock_t*)':
: undefined reference to `pthread_rwlock_wrlock'
../lib/libtools.a(Tools.o)(.text+0x34ea): In function
`Tools::ExclusiveLock::ExclusiveLock[in-charge](_pthread_rwlock_t*)':
: undefined reference to `pthread_rwlock_wrlock'
../lib/libtools.a(Tools.o)(.text+0x3513): In function
`Tools::ExclusiveLock::~ExclusiveLock
[not-in-charge]()':
: undefined reference to `pthread_rwlock_unlock'
../lib/libtools.a(Tools.o)(.text+0x353b): In function
`Tools::ExclusiveLock::~ExclusiveLock [in-charge]()':
: undefined reference to `pthread_rwlock_unlock'
collect2: ld returned 1 exit status
make: *** [ExternalSort] Error 1
////////////////////////////////////////////////////////
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make