[interfacekit] Re: Am I the only one with build problems?

Hello DarkWyrm,

I think libroot.so is meant to build as a haiku target only.
I would avoid having "COMPILE_FOR_R5=1, DEUBG=1, and TARGET_PLATFORM=r5" in my .profile if i were you.


Why are you trying to build libroot.so if you're testing app_server on R5 ? Maybe there is a wrong dependency with libroot.so where as TARGET_PLATFORM=r5.

Bye,
Jérôme

DarkWyrm a écrit :

I've been really quiet of late because I haven't been able to get the server to build, and fighting with compilers and jam is definitely not my strong point. I asked Axel and he didn't have any ideas how to fix what's happening. I've been using the stock R5 compiler until recently. When it started crashing on a file in the Storage Kit (internal compiler errors), Axel suggested using Oliver's gcc build. No more crashing. However, libroot keeps coming up with unresolved symbols and I have no clue what's causing it.

I'm running Max Edition and I've got both COMPILE_FOR_R5=1, DEUBG=1, and TARGET_PLATFORM=r5 defined in my .profile. I'm also using both Olver's gcc and libstdc++.r4.so (not that the stdc++ lib should make much difference in this case). I deleted my local copy of the tree, checked out a new copy, and did a configure + jam in the trunk directory with the StatCacheServer running.

This is the relevant part of the jam output that I get.

../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0xe0a): In function `__mpn_mul':
/boot/develop/OBOS_SVN/trunk/src/system/../../src/system/libroot/posix/
glibc/arch/mul.c:131: undefined reference to `__mpn_add_1'
../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0xeb4):/boot/develop/OBOS_SVN/trunk/src/
system/../../src/system/libroot/posix/glibc/arch/mul.c:147: undefined reference to `__mpn_add_1'
../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0x160a): In function `__mpn_impn_mul_n':
/boot/develop/OBOS_SVN/trunk/src/system/../../src/system/libroot/posix/
glibc/arch/mul_n.c:213: undefined reference to `__mpn_add_1'
../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0x16ca):/boot/develop/OBOS_SVN/trunk/src/
system/../../src/system/libroot/posix/glibc/arch/mul_n.c:218: undefined reference to `__mpn_add_1'
../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0x1c9a): In function `__mpn_impn_sqr_n':
/boot/develop/OBOS_SVN/trunk/src/system/../../src/system/libroot/posix/
glibc/arch/mul_n.c:351: undefined reference to `__mpn_add_1'
../../objects/x86.R1/system/libroot/posix/glibc/arch/x86/
posix_gnu_arch_x86.o(.text+0x1d5a):/boot/develop/OBOS_SVN/trunk/src/
system/../../src/system/libroot/posix/glibc/arch/mul_n.c:356: more undefined references to `__mpn_add_1' follow
../../objects/x86.R1/system/libroot/posix/glibc/stdio-common/
posix_gnu_stdio.o(.text+0x4c23): In function `__printf_fphex':
/boot/develop/OBOS_SVN/trunk/src/system/libroot/posix/glibc/stdio-
common/printf_fphex.c:203: undefined reference to `__signbitl'
../../objects/x86.R1/system/libroot/posix/glibc/stdio-common/
posix_gnu_stdio.o(.text+0x4d43):/boot/develop/OBOS_SVN/trunk/src/system
/libroot/posix/glibc/stdio-common/printf_fphex.c:242: undefined reference to `__signbit'


Do any of you guys have an idea what I can do about all this?

--DW










Other related posts: