Hi poppers
I have a make file which I use for running popc. This works with out any problems
in version 15.0 but fails with "UNDECLARED LIBRARY IDENTIFIER" if I use version 15.53
The file cgi_get_to_vedhtml.p contains the lines
uses cgi_utils
uses cgi_to_vedhtml
If I declare cgi_utils and cgi_to_vedhtml with a vars statement before the
uses both 15.0 and 15.53 give the error
LIBRARY IDENTIFIER cgi_utils NOT FOUND
LIBRARY IDENTIFIER cgi_to_vedhtml NOT FOUND
as one might expect.
So how do I declare and "LIBRARY IDENTIFIER" for popc?
joseph> setenv usepop /packages/poplog15.0
joseph> source $usepop/pop/com/poplog
* * * * * * * * * * * * * * * * * * * * * * * * * * *
* Sussex Poplog Version 15.0 *
* See HELP NEWS for details of new features *
* * * * * * * * * * * * * * * * * * * * * * * * * * *
joseph> make clean
/bin/rm -f *.wlb *.olb cgi_to_vedhtml cgi_get_to_vedhtml
joseph> make
/bin/rm -f *.wlb *.olb
popc -createwlib ./ cgi_to_vedhtml.p
./src.wlb CREATED
popc -e cgi_to_vedhtml -o cgi_to_vedhtml cgi_to_vedhtml.p
popc -e cgi_get_to_vedhtml -o cgi_get_to_vedhtml cgi_get_to_vedhtml.p
joseph> setenv usepop /packages/poplog15.53
joseph> source $usepop/pop/com/poplog
Sussex Poplog Version 15.53
joseph> make
/bin/rm -f *.wlb *.olb
popc -createwlib ./ cgi_to_vedhtml.p
./src.wlb CREATED
popc -e cgi_to_vedhtml -o cgi_to_vedhtml cgi_to_vedhtml.p
popc -e cgi_get_to_vedhtml -o cgi_get_to_vedhtml cgi_get_to_vedhtml.p
UNDECLARED LIBRARY IDENTIFIER cgi_utils
UNDECLARED LIBRARY IDENTIFIER cgi_to_vedhtml
UNDECLARED IDENTIFIER base_url (IN cgi_get_to_vedhtml)
UNDECLARED IDENTIFIER url_decode (IN cgi_get_to_vedhtml)
UNDECLARED IDENTIFIER mantohtml (IN cgi_get_to_vedhtml)
UNDECLARED IDENTIFIER indextohtml (IN cgi_get_to_vedhtml)
UNDECLARED IDENTIFIER vedtohtml (IN cgi_get_to_vedhtml)
;;; MISHAP - POPC: FILE HAS COMPILATION ERRORS (see above)
*** Error code 1
make: Fatal error: Command failed for target `cgi_get_to_vedhtml'
joseph> cat Makefile
all: cgi_to_vedhtml cgi_get_to_vedhtml
cgi_to_vedhtml: src.wlb cgi_to_vedhtml.p
popc -e cgi_to_vedhtml -o cgi_to_vedhtml cgi_to_vedhtml.p
cgi_get_to_vedhtml: src.wlb cgi_get_to_vedhtml.p
popc -e cgi_get_to_vedhtml -o cgi_get_to_vedhtml cgi_get_to_vedhtml.p
src.wlb: cgi_to_vedhtml.p
/bin/rm -f *.wlb *.olb
popc -createwlib ./ cgi_to_vedhtml.p
clean:
/bin/rm -f *.wlb *.olb cgi_to_vedhtml cgi_get_to_vedhtml
--
Anthony Worrall
The University of Reading,
Department of Computer Science,
Whiteknights, PO Box 225
Reading,
Berkshire, UK
RG6 6AY
Tel: +44 (0)1189 318610
Fax: +44 (0)1189 751994