popc in version 15.53 
Author Message
 popc in version 15.53

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



Tue, 29 Oct 2002 03:00:00 GMT  
 popc in version 15.53

I found the solution. For some reason in version 15.53 popc does not link src.wlb
for the current directory. I guess "." had been removed from popsyslist.

The workaround is to add src.wlb explictly.

popc -e cgi_get_to_vedhtml -o cgi_get_to_vedhtml -wlib src.wlb cgi_get_to_vedhtml.p

--
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



Tue, 29 Oct 2002 03:00:00 GMT  
 popc in version 15.53
[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]

Hi Anthony,

Quote:
> I found the solution. For some reason in version 15.53 popc does not link src.wlb
> for the current directory. I guess "." had been removed from popsyslist.

Does this mean you have now managed to re-build one of the out of
date versions of poplog, or were you simply producing a local
version of one of the existing 15.53 systems?

If the former, would you be willing to make the new version
available, either at your own ftp/web site or via the free poplog
web site: http://www.cs.bham.ac.uk/research/poplog/

Quote:

> The workaround is to add src.wlb explictly.

> popc -e cgi_get_to_vedhtml -o cgi_get_to_vedhtml -wlib src.wlb cgi_get_to_vedhtml.p

I presume this means that one or more of the files in

    http://www.cs.bham.ac.uk/research/poplog/sysdoc/

needs to be updated/expanded, e.g. perhaps popc, ppg, rebuilding ?

If you were using one of them and found it misleading, I'd be
grateful for a pointer.

Or is the problem in REF popc, or HELP popc  ?

Thanks.

Aaron



Tue, 05 Nov 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. New version of Alpha Unix Poplog version 15.53

2. (NEW) Poplog Version 15.53 for windows/NT

3. Popc FAQ

4. popc

5. popc

6. popc

7. query about popc and objectclass

8. query about popc and objectclass

9. POPC

10. How to Filein a older version file to a newer version

11. ODBTalk Version 4 - ODBTalk Version 4 Announcement.htm (0/1)

12. RARS for C55 - New version posted, with bug fix and DST Email version

 

 
Powered by phpBB® Forum Software