Hi!
We are trying to compile stp.But we are not able to do so.the error is:
It is searching for some methods given below which are not existing in the files that we have.
pfproSubmitTransaction
pfproInit
pfproCompleteTransaction
pfproCleanup
pfproDestroyContext
pfproCreateContext
pfproVersion
in the file pfpro.h , the prototype of these functions is given, but in the C file, the functions are not defined.
the detail error that we are getting is written below:
$ cc -v -L../lib/libpfpro.so pfpro.c
ucbcc: Note: LM_LICENSE_FILE = (null)
ucbcc: Note: NLSPATH = /opt/SUNWspro/SC4.2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/SC4.2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
/usr/ccs/lib/cpp -undef -DSunOS_5_7 -DSUNPRO_C=0x420 -Dunix -Dunix -Dsun -Dsun -DBUILTIN_VA_ARG_INCR -DSVR4 -Dsparc -Dsparc -I/usr/ucbinclude pfpro.c >/tmp/cpp.28753.0.i
/opt/SUNWspro/SC4.2/bin/acomp -Qy -y-o -ypfpro.o -I/usr/ucbinclude -g "/opt/SUNWspro/SC4.2/bin/acc -Xs -YP,:/usr/ucblib:/opt/SUNWspro/SC4.2/bin/../lib:/opt/SUNWspro/SC4.2/bin:/usr/ccs/lib:/usr/lib -v -L../lib/libpfpro.so -I/usr/ucbinclude -c" -b -y-fbe -y/opt/SUNWspro/SC4.2/bin/fbe -y-xarch=v7 -y-verbose -Xs -DSunOS_5_7 -DSUNPRO_C=0x420 -Dunix -Dsun -Dsparc -Dunix -Dsun -Dsparc -DBUILTIN_VA_ARG_INCR -DSVR4 -y-s -I/opt/SUNWspro/SC4.2/include/cc -i /tmp/cpp.28753.0.i
rm /tmp/cpp.28753.0.i
ucbcc: Note: LD_LIBRARY_PATH = /usr/ucblib:/usr/ccs/lib:/usr/lib
ucbcc: Note: LD_RUN_PATH = /usr/ucblib
ucbcc: Note: LD_OPTIONS = (null)
/usr/ccs/bin/ld -L../lib/libpfpro.so -o a.out /opt/SUNWspro/SC4.2/lib/crti.o /opt/SUNWspro/SC4.2/lib/crt1.o /opt/SUNWspro/SC4.2/lib/values-xs.o -Y P,:/usr/ucblib:/opt/SUNWspro/SC4.2/bin/../lib:/opt/SUNWspro/SC4.2/bin:/usr/ccs/lib:/usr/lib pfpro.o -lucb -lsocket -lnsl -lelf -laio -lc /opt/SUNWspro/SC4.2/lib/crtn.o
Undefined first referenced
symbol in file
pfproSubmitTransaction pfpro.o
pfproInit pfpro.o
pfproCompleteTransaction pfpro.o
pfproCleanup pfpro.o
pfproDestroyContext pfpro.o
pfproCreateContext pfpro.o
pfproVersion pfpro.o
ld: fatal: Symbol referencing errors. No output written to a.out
please clear us on the above problem.we have tried everything.
regards geetika