[Ecls-list] c::builder uses tempfile with only 1 object file
Goffioul Michael
goffioul at imec.be
Fri May 12 00:05:52 UTC 2006
> If I set si::*init-function-prefix* before I call build-op,
> it doesn't seem to help:
>
> > (setf si::*init-function-prefix* "FOO") "FOO"
> > si::*init-function-prefix*
> "FOO"
> > (asdf:oos 'asdf:build-op :bordeaux-mp :type :dll
> :monolithic nil) ...
> /path/to/bordeaux-mp/ecl-0.9h-linux-unknown/bordeaux-mp.o(.tex
> t+0xc50):
> In function `init_BORDEAUX_MP':
> : multiple definition of `init_BORDEAUX_MP'
> /path/to/ECLINITnbpOry.o(.text+0x0): first defined here
> /usr/bin/ld: Warning: size of symbol `init_BORDEAUX_MP' changed from
> 168 in /path/to/ECLINITnbpOry.o to 4047 in
> /path/to/bordeaux-mp/ecl-0.9h-linux-unknown/bordeaux-mp.o
> collect2: ld returned 1 exit status
Actually, it should work when compiling manually. I don't think
it'd work within the asdf::build-op operation. The point is to
define the function prefix differently when compiling source files
than when doing final building.
Michael.
More information about the ecl-devel
mailing list