nj302 *nix forums beginner
Joined: 08 Feb 2005
Posts: 7
|
Posted: Tue Feb 08, 2005 9:11 pm Post subject:
How to run the sample from transactional data store application
|
|
|
Does anyone know how to run the transaction sample from Berkeley DB
Reference Guide: Berkeley DB Transactioanl Data Store Applications. The
original file is transapp.cs. I changed it into transapp.c and try to
compile it. I got the following error.
cc -g -xCC -c -I/usr/local/BerkeleyDB.4.3/include -o transapp.o
transapp.c
"transapp.c", line 445: va_start: argument mismatch
"/usr/include/pthread.h", line 355: Info syntax error before or at:
pthread_self
"/usr/include/pthread.h", line 355: warning: Info old-style declaration
or incorrect type for: pthread_self
"transapp.c", line 32: Info syntax error before or at: ptid
"transapp.c", line 33: warning: Info declaration can not follow a
statement
"transapp.c", line 49: Info undefined symbol: ptid
"transapp.c", line 92: Info cannot recover from previous errors
*** Error code 2
Have now clue what is going on here. I would really appreciate your
help. |
|