[NetBehaviour] geek at work

james jwm-art net james at jwm-art.net
Fri Aug 15 02:06:36 CEST 2008


fedup with 2nd hand computers built of scraps from old systems and
systems before them and 2nd hand systems from.. fedup with memory errors
and over heating processors and onboard-gfx processors, fedup with all
this i dipped into some savings and purchased a brand new PC, a dual
core 64 bit, amd_64 it's geek-spoken as, but intel it is.

so, so, so, i download amd64 64studio iso from the library at work while
on my lunch break and install - at this stage i'd not found out the
AHCI SATA is disabled to legacy ide mode, and installed 64studio and my
poor little heart was broken to discover my brand new shiny super duper
PC with a brand new shiny operating system has a lesser version of
ardour2 on than my cranky old scrapyard PC with debian etch on it.

james at 64studio:/usr/local/src/audio/vamp-plugin-sdk-1.3$ make
ranlib vamp-sdk/libvamp-sdk.a
ranlib vamp-sdk/libvamp-hostsdk.a
g++  -static-libgcc -shared -Wl,-Bsymbolic
-Wl,--version-script=vamp-plugin.map -o examples/vamp-example-plugins.so
examples/SpectralCentroid.o examples/PercussionOnsetDetector.o
examples/AmplitudeFollower.o examples/ZeroCrossing.o examples/plugins.o
vamp-sdk/libvamp-sdk.a /usr/lib/gcc/x86_64-linux-gnu/4.1.2/libstdc++.a
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/libstdc++.a(functexcept.o):
relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not
be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/libstdc++.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
make: *** [examples/vamp-example-plugins.so] Error 1


and set about building ardour2 ((edit a few makefiles and recompile with
-fPIC and all's hunky dory jackanory, shared libs and all that)) it's
an arduous process but what happens? get to stage of building new gtk
and boom error unknown to me to fix.

scrap that.

try linux mint, it's really nice to look at, very new gnome desktop -
and believe it or not, this gnome desktop i like... but shit the c
compiler can't even create executables and i dont have no 'net
connection for mint to get the stuff. dang and blast but it looks good
and burning iso's is a matter of two or three clicks of the mouse and a
minute or two later kerching. but if you've got a decent bb net
connection then try Linux MINT, it's mint, and it's some kind of
cross-breed beast of ubuntu and debian or something, and it's pretty
nice to look at with dark themes and stuff which i like a lot.

let's try install debian etch as a base to build on. nvidia driver does
not like debian etch's xorg, or debian etch's xorg refuses to
acknowledge the nvidia drivers are in the correct place where they are
infact are.

and half the time debian etch's installer won't find my lovely big sata
drive even when in legacy ide mode, but occassionally it does because i
had the damn thing installed at some point i'm sure.

ok ok ok, now let's start over and use amd64 64studio as base. start off
with something like, i know, let's compile gcc, excellent, yes, great
idea.

Cannot load module /usr/local/src/gtk+-2.12.9/modules/input/im-xim.la:
/usr/local/src/gtk+-2.12.9/modules/input/.libs/im-xim.so: undefined
symbol: g_assertion_message_expr
/usr/local/src/gtk+-2.12.9/modules/input/im-xim.la does not export GTK+
IM module API: /usr/local/src/gtk+-2.12.9/modules/input/.libs/im-xim.so:
undefined symbol: g_assertion_message_expr
Cannot load module
/usr/local/src/gtk+-2.12.9/modules/input/im-multipress.la:
/usr/local/src/gtk+-2.12.9/modules/input/.libs/im-multipress.so:
undefined symbol: g_assertion_message_expr
/usr/local/src/gtk+-2.12.9/modules/input/im-multipress.la does not export
GTK+ IM module API:
/usr/local/src/gtk+-2.12.9/modules/input/.libs/im-multipress.so:
undefined symbol: g_assertion_message_expr
m

no no hang on hang on backtrace a little, my mind's reminding me that
libtool was mentioned in the gtk error, or so it reminds me, so i
download binutils and build that. then back to gcc oh it needs gmp and
mpfr - GNU multiple precision maths libs - so get them ok, yes back to
gcc.

        done
{ /usr/local/src/GCC/gcc-4.3.1-build/./gcc/nm -pg  _muldi3_s.o
_negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o
_ucmpdi2_s.o _clear_cache_s.o _enable_execute_stack_s.o _trampoline_s.o
__main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o
_subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o
_negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o
_clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o
_popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o
_powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o
_multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o
_bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o
_fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o
_fixunsdfdi_s.o _fixunsxfdi_s.o _floatdisf_s.o _floatdidf_s.o
_floatdixf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o
_divdi3_s.o _moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o
_udivmoddi4_s.o addtf3_s.o divtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o
multf3_s.o negtf2_s.o subtf3_s.o unordtf2_s.o fixtfsi_s.o fixunstfsi_s.o
floatsitf_s.o floatunsitf_s.o fixtfdi_s.o fixunstfdi_s.o floatditf_s.o
floatunditf_s.o fixtfti_s.o fixunstfti_s.o floattitf_s.o floatuntitf_s.o
extendsftf2_s.o extenddftf2_s.o extendxftf2_s.o trunctfsf2_s.o
trunctfdf2_s.o trunctfxf2_s.o unwind-dw2_s.o unwind-dw2-fde-glibc_s.o
unwind-sjlj_s.o gthr-gnat_s.o unwind-c_s.o emutls_s.o; echo %%; \
          cat ../../../../gcc-4.3.1/libgcc/../gcc/libgcc-std.ver
./../../../gcc-4.3.1/libgcc/../gcc/config/i386/libgcc-x86_64-glibc.ver 
\
            | sed -e '/^[       ]*#/d' \
                  -e
's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
            | /usr/local/src/GCC/gcc-4.3.1-build/./gcc/xgcc
-B/usr/local/src/GCC/gcc-4.3.1-build/./gcc/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/bin/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/include -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/sys-include -g
-fkeep-inline-functions -m32 -O2  -O2 -g -g -O2   -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../../.././gcc
-I../../../../gcc-4.3.1/libgcc -I../../../../gcc-4.3.1/libgcc/.
-I../../../../gcc-4.3.1/libgcc/../gcc
-I../../../../gcc-4.3.1/libgcc/../include
-I../../../../gcc-4.3.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -E -xassembler-with-cpp -; \
        } | mawk -f ../../../../gcc-4.3.1/libgcc/../gcc/mkmap-symver.awk 
 > tmp-libgcc.map
mv tmp-libgcc.map libgcc.map
# @multilib_flags@ is still needed because this may use
# /usr/local/src/GCC/gcc-4.3.1-build/./gcc/xgcc
-B/usr/local/src/GCC/gcc-4.3.1-build/./gcc/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/bin/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/include -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/sys-include and -O2  -O2
-g -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh ../../../../gcc-4.3.1/libgcc/../mkinstalldirs 32
mkdir -p -- 32
/usr/local/src/GCC/gcc-4.3.1-build/./gcc/xgcc
-B/usr/local/src/GCC/gcc-4.3.1-build/./gcc/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/bin/
-B/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/include -isystem
/usr/local/gcc-4.3.1/x86_64-unknown-linux-gnu/sys-include -O2  -O2 -g -g
-O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared
-nodefaultlibs -Wl,--soname=libgcc_s.so.1
-Wl,--version-script=libgcc.map -o 32/libgcc_s.so.1.tmp -g
-fkeep-inline-functions -m32 -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o
_ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o
_enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o
_mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o
_ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o
_paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o
_powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o
_divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o
_fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o
_fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o
_fixunsxfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o
_floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _divdi3_s.o
_moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o
addtf3_s.o divtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o multf3_s.o
negtf2_s.o subtf3_s.o unordtf2_s.o fixtfsi_s.o fixunstfsi_s.o
floatsitf_s.o floatunsitf_s.o fixtfdi_s.o fixunstfdi_s.o floatditf_s.o
floatunditf_s.o fixtfti_s.o fixunstfti_s.o floattitf_s.o floatuntitf_s.o
extendsftf2_s.o extenddftf2_s.o extendxftf2_s.o trunctfsf2_s.o
trunctfdf2_s.o trunctfxf2_s.o unwind-dw2_s.o unwind-dw2-fde-glibc_s.o
unwind-sjlj_s.o gthr-gnat_s.o unwind-c_s.o emutls_s.o -lc && rm -f
32/libgcc_s.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f
32/libgcc_s.so.1 32/libgcc_s.so.1.backup; else true; fi && mv
32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s libgcc_s.so.1
32/libgcc_s.so
/usr/local/bin/ld: skipping incompatible /usr/lib/libc.so when searching
for -lc
/usr/local/bin/ld: skipping incompatible /usr/lib/libc.a when searching
for -lc
/usr/local/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.so] Error 1
make[5]: Leaving directory
`/usr/local/src/GCC/gcc-4.3.1-build/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/usr/local/src/GCC/gcc-4.3.1-build/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/usr/local/src/GCC/gcc-4.3.1-build/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/usr/local/src/GCC/gcc-4.3.1-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/local/src/GCC/gcc-4.3.1-build'
make: *** [all] Error 2
james at 64studio:/usr/local/src/GCC/gcc-4.3.1-build$




More information about the NetBehaviour mailing list