[eresi-dev] libasm Makefile problem
Julien F. Vanegue
jfv at cesar.org.br
Mon Aug 18 14:49:05 UTC 2008
This is incorrect. First libasm is linked entirely as a single .o
(for inclusion in the libe2dbg), then libasm is linked as a shared
library (for linking with the top-level executables).
You need to find out why the second linking is not working on
BeOS because it is absolutely mandatory.
Also, the patch in the Makefile of libelfsh is incorrect : -L
and -l are linking options while CFLAGS is a compiling variable.
I have modified the makefile so that the missing stuffs you
mention are put in LDFLAGS.
All other patches have been integrated and commited in
the current svn trunk. I compiled them in both 32 and 64
bits. Consider testing this too on your BeOS (use --enable-32-64
in the configure and make sure everything compiles until
the end).
You might also want to do a : source env.sh before compiling
so that the testsuite is well compiled.
-JFV
zadig bru wrote:
> Hello everybody,
>
> There seems to be a problem in libasm makefile. After linking the
> shared libraries we try to relink them, but without the same options.
> This second link fails on beos, but I think it should not be needed
> anyway.
>
>
> Index: libasm/Makefile
> ===================================================================
> --- libasm/Makefile (revision 1089)
> +++ libasm/Makefile (working copy)
> @@ -147,11 +147,6 @@
> #echo "[RANLIB] ${NAME_libasm}"
> $(LD) -r $(OBJS32_libasm) -o ${NAME32_libasm_o}
> #echo "[CC -shared] libasm32.so"
> -ifeq ($(IRIX),1)
> - $(LD) ${OBJS32_libasm} -o libasm32.so -shared
> -else
> - $(CC) ${OBJS32_libasm} -o libasm32.so -shared
> -endif
>
> libasm64.so: $(PACKED_ARCH) $(OBJS64_libasm)
> $(LD) -L../libaspect/ -laspect64 -shared ${OBJS64_libasm} -o libasm64.so
>
> _______________________________________________
> eresi-dev mailing list
> eresi-dev at lists.einherjar.de
> http://lists.einherjar.de/mailman/listinfo/eresi-dev
>
>
--
Julien F. Vanegue - System Engineer
CESAR (Recife Center for Advanced Studies and Systems)
Tel: (+55 81) 3425 4649
More information about the eresi-dev
mailing list