Menu

#2 Compilation error due to 'rb_stm_h_nosearch' target

open
nobody
None
5
2005-11-06
2005-11-06
No

The mentioned target is not satisfied on an Intel
machine, while trying to build the lockfree-lib
included on LibLTX using gcc 3.2.3:

lockfree-lib]$ make
...
... (everything good)
...
gcc32 -O3 -DINTEL -fomit-frame-pointer -march=i686
-DNDEBUG -c -o stm_fraser.o stm_fraser.c
gcc32 -o rb_stm_fraser rb_stm.o stm_fraser.o
set_harness.o ptst.o gc.o -lpthread
gcc32 -O3 -DINTEL -fomit-frame-pointer -march=i686
-DNDEBUG -c -o stm_herlihy.o stm_herlihy.c
gcc32 -o rb_stm_herlihy rb_stm.o stm_herlihy.o
set_harness.o ptst.o gc.o -lpthread
gcc32 -O3 -DINTEL -fomit-frame-pointer -march=i686
-DNDEBUG -c -o stm_lock.o stm_lock.c
gcc32 -o rb_stm_lock rb_stm.o stm_lock.o set_harness.o
ptst.o gc.o -lpthread
make: *** No rule to make target `stm_h_nosearch.o',
needed by `rb_stm_h_nosearch'. Stop.
lockfree-lib]$

In fact, on line 100 of Makefile it can be read:

rb_stm_h_nosearch: rb_stm.o stm_h_nosearch.o
set_harness.o ptst.o gc.o

but the corresponding stm_h_nosearch.[ch] file doesn't
exists on the source tree:

lockfree-lib]$ ls stm*
stm.h stm_ennals_herlihy.c stm_fraser.c
stm_herlihy.c stm_lock.c
lockfree-lib]$

Bye,
Duilio Protti.

Discussion


Log in to post a comment.