From: Jesse Hughes
Subject: Problems with compile-file,load
Date: 
Message-ID: <YlwwPJO00Uh702TVNY@andrew.cmu.edu>
Hey ho.

I'm using AKCL 1.615 to compile a program (using a script) and I've run
into severe problems.  Namely, the compile script compiles a file, exits
AKCL (using (bye)), runs AKCL again and loads the first file to compile
the second.  

The first file is called z1.tmp.  Apparently, it compiles correctly, but
when I enter AKCL the second time, and try to load the output file z1.o,
I get the following errors:

ld: Duplicate symbol "bcmp", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "bcopy", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "bzero", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "calloc", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "cfree", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "_rlog", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "remainder", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Found 7 duplicate symbol(s)
ld: Duplicate symbol "bcmp", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "bcopy", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "bzero", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "calloc", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "cfree", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "_rlog", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Duplicate symbol "remainder", files
/usr/local/kcl/akcl/unixport/saved_kcl and
/usr/local/kcl/akcl/unixport/saved_kcl
ld: Found 7 duplicate symbol(s)
ld: Entry symbol "init_z1" not found

Error: The linkage editor failed.
Fast links are on: do (use-fast-links nil) for debugging
Error signalled by LOAD.

By the way, none of these symbols appear in z1.tmp or z1.o.  I need
help!  Any ideas?

Jesse
From: Jesse Hughes
Subject: GCL problems
Date: 
Message-ID: <Ilx4aRS00UhBM3AFAN@andrew.cmu.edu>
The problems that I described with AKCL also occur with GCL.  Namely,
Excerpts from netnews.comp.lang.lisp: 22-Jul-96 Problems with
compile-file,.. by Jesse ······@andrew.cmu. 
>I'm using AKCL 1.615 to compile a program (using a script) and I've run
>into severe problems.  Namely, the compile script compiles a file, exits
>AKCL (using (bye)), runs AKCL again and loads the first file to compile
>the second.  
> 
>The first file is called z1.tmp.  Apparently, it compiles correctly, but
>when I enter AKCL the second time, and try to load the output file z1.o,
>I get the following errors:
> 
>ld: Duplicate symbol "bcmp", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "bcopy", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "bzero", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "calloc", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "cfree", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "_rlog", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "remainder", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Found 7 duplicate symbol(s)
>ld: Duplicate symbol "bcmp", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "bcopy", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "bzero", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "calloc", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "cfree", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "_rlog", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Duplicate symbol "remainder", files
>/usr/local/kcl/akcl/unixport/saved_kcl and
>/usr/local/kcl/akcl/unixport/saved_kcl
>ld: Found 7 duplicate symbol(s)
>ld: Entry symbol "init_z1" not found
> 
>Error: The linkage editor failed.
>Fast links are on: do (use-fast-links nil) for debugging
>Error signalled by LOAD.
> 
>By the way, none of these symbols appear in z1.tmp or z1.o.  I need
>help!  Any ideas?

Thanks again,
Jesse