[eresi-dev] beos port

zadig bru zadig.bru at gmail.com
Tue Aug 5 21:38:42 UTC 2008


Maybe a hint that may explain why it works now: I also added -lasm32/64 when
linking libelfsh.

Zadig.

On Tue, Aug 5, 2008 at 11:13 PM, zadig bru <zadig.bru at gmail.com> wrote:

> Yes, but I don't manage to reproduce the issue!
>
> I recompiled several time after a make uninstall/clean/fclean, and it
> compiles well now. I will re-fetch the whole tree later.
>
> However here is the output I had previously:
>
> -------------------------------------------------
>
> cc -L../libedfmt/ -ledfmt32 -L../libelfsh/ -lelfsh32 -L../libdump/
> -L/usr/pkg/lib/ -L../libmjollnir/ -lmjollnir32 -L/boot/home/config/lib
> -lpthread -L../libasm/ -lasm32 -g3 -L../liballocproxy -L../libmjollnir/
> -L../libaspect/ -laspect32 -lallocproxy -L/usr/freeware/lib32/ -shared
> *.32.o -o librevm32.so \
>
> revm-api.32.o(.text+0x514b): In function `revm_command_set':
> /boot/home/devel/eresi/librevm/api/commands.c:43: undefined reference to
> `cmd_hash'
> revm-api.32.o(.text+0x53d4): In function `revm_command_add':
> /boot/home/devel/eresi/librevm/api/commands.c:67: undefined reference to
> `cmd_hash'
> revm-api.32.o(.text+0x54f1): In function `revm_command_del':
> /boot/home/devel/eresi/librevm/api/commands.c:78: undefined reference to
> `cmd_hash'
> revm-api.32.o(.text+0x8898): In function `revm_implicit':
> /boot/home/devel/eresi/librevm/api/implicit.c:127: undefined reference to
> `asm_do_resolve'
> revm-api.32.o(.text+0xa244): In function `revm_getfile':
> /boot/home/devel/eresi/librevm/api/misc.c:266: undefined reference to
> `revm_is_depid'
> revm-api.32.o(.text+0xa464):/boot/home/devel/eresi/librevm/api/misc.c:281:
> undefined reference to `revm_is_depid'
> revm-api.32.o(.text+0xf78a): In function `revm_help':
> /boot/home/devel/eresi/librevm/api/helping.c:66: undefined reference to
> `cmd_hash'
> revm-lang.32.o(.text+0x4550): In function `parse_vector':
> /boot/home/devel/eresi/librevm/lang/grammar.c:51: undefined reference to
> `revm_vectors_getdimnbr'
> revm-lang.32.o(.text+0x458a):/boot/home/devel/eresi/librevm/lang/grammar.c:53:
> undefined reference to `revm_vectors_getdims'
> revm-lang.32.o(.text+0x4668):/boot/home/devel/eresi/librevm/lang/grammar.c:60:
> undefined reference to `revm_vector_bad_dims'
> revm-lang.32.o(.text+0x8e50): In function `revm_lookup_addr':
> /boot/home/devel/eresi/librevm/lang/lookup.c:99: undefined reference to
> `const_hash'
> revm-lang.32.o(.text+0x9489): In function `revm_lookup_immed':
> /boot/home/devel/eresi/librevm/lang/lookup.c:170: undefined reference to
> `const_hash'
> revm-lang.32.o(.text+0x9b90): In function `revm_lookup_index':
> /boot/home/devel/eresi/librevm/lang/lookup.c:260: undefined reference to
> `const_hash'
> revm-lang.32.o(.text+0x10f53): In function `revm_parseopt':
> /boot/home/devel/eresi/librevm/lang/parser.c:196: undefined reference to
> `cmd_hash'
> revm-lang.32.o(.text+0x16c7a): In function `revm_expr_printrec':
> /boot/home/devel/eresi/librevm/lang/expressions.c:552: undefined reference
> to `revm_object_print'
> revm-lang.32.o(.text+0x17ad0): In function `revm_expr_copy':
> /boot/home/devel/eresi/librevm/lang/expressions.c:680: undefined reference
> to `revm_annot_get'
> revm-machine.32.o(.text+0x132c): In function `revm_execscript':
> /boot/home/devel/eresi/librevm/vm/loop.c:188: undefined reference to
> `cmd_hash'
> collect2: ld returned 1 exit status
> make[1]: *** [librevm32.so] Error 1
> make[1]: Leaving directory `/boot/home/devel/eresi/librevm'
> make: *** [world] Error 2
>
> -------------------------------------------------
>
> On Mon, Aug 4, 2008 at 4:24 PM, Julien F. Vanegue <jfv at cesar.org.br>wrote:
>
>> Hi Zadig,
>>
>> Can you post the list of unresolved symbol so we can cleanup those
>> dependencies ?
>>
>> The librevm should not need any symbol from libstderesi.
>>
>> -JFV
>>
>> zadig bru wrote:
>> >
>> > Hello all
>> >
>> > I solved my problem with the "--warn-unresolved-symbols" flag. Now I
>> > have an elfsh exe that does not starts :)
>> >
>> > I will try all this on haiku now before sending the first patches.
>> >
>> > Zadig.
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > 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
>>
>>
>>
>> _______________________________________________
>> eresi-dev mailing list
>> eresi-dev at lists.einherjar.de
>> http://lists.einherjar.de/mailman/listinfo/eresi-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einherjar.de/pipermail/eresi-dev/attachments/20080805/4ff5daed/attachment.html 


More information about the eresi-dev mailing list