help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cfengine 2.0.5pre2 on AIX 5.2


From: Eva Hocks
Subject: cfengine 2.0.5pre2 on AIX 5.2
Date: Thu, 9 Jan 2003 12:07:28 -0800 (PST)


Hi

I amtrying to compile cfengine 2.0.5pre2 on AIX 5.2. When linking it stops
with the error:

        gcc  -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g
-O2 -I/usr/local/BerkeleyDB.4.1/i
nclude    -L/usr/local/BerkeleyDB.4.1/lib -L/opt/freeware/lib  -o cfagent
cfagent.o init.o do.o  wrapper.o
 report.o client.o  ip.o process.o ifconf.o image.o  item.o item-ext.o
item-file.o  2Dlist.o globals.o clas
ses.o  misc.o parse.o functions.o  edittools.o patches.o install.o  link.o
tidy.o filedir.o eval.o  modes.o
 chflags.o locks.o  mount.o macro.o filenames.o  varstring.o wildcard.o
cfparse.o  comparray.o read.o check
sums.o  proto.o filters.o copy.o  repository.o rotate.o errors.o  cflex.o
net.o df.o log.o  crypto.o popen.
o popen_def.o  sensible.o acl.o dce_acl.o  nameinfo.o strategies.o -ll
-ldb -lcrypto -lpthreads -lpthread -
lm  -L../pub -lpub
ld: 0711-317 ERROR: Undefined symbol: .mutex_destroy
ld: 0711-317 ERROR: Undefined symbol: .mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .cond_signal
ld: 0711-317 ERROR: Undefined symbol: .mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .mutex_trylock
ld: 0711-317 ERROR: Undefined symbol: .cond_wait
ld: 0711-317 ERROR: Undefined symbol: .mutex_init
ld: 0711-317 ERROR: Undefined symbol: .cond_init
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status


AIX uses the POSIX pthread symbols pthread_mutex_destroy etc which are in
the pthread.h file. I could not find any reference to the symbols metioned
in the error message.

Anyone know how to prevent the linker to try to look fo pthreads?


Thanks,
Eva





reply via email to

[Prev in Thread] Current Thread [Next in Thread]