Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-05-2012, 10:15 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
Codeviz installation

I am trying to install codeviz on a ubuntu 11.04 machine.
I run into this problem:
Can someone please help me understand the fix or suggest another code viewing/graphical code viewer at compiles and is easy to install ?
Thank you


append dep file ../../gcc-3.4.6/gcc/crtstuff.c.cdepn
make[5]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
make GCC_FOR_TARGET=" ./xgcc -B./ -B/usr/local/gccgraph/x86_64-unknown-linux-gnu/bin/ -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/include -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/sys-include -L/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../ld" \
AR_FOR_TARGET="` if [ -f /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ] ; then echo /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ; else if [ "x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else t='s,y,y,'; echo ar | sed -e ; fi; fi`" \
AR_CREATE_FOR_TARGET="` if [ -f /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ] ; then echo /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ; else if [ "x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else t='s,y,y,'; echo ar | sed -e ; fi; fi` rc" \
AR_EXTRACT_FOR_TARGET="` if [ -f /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ] ; then echo /home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../binutils/ar ; else if [ "x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else t='s,y,y,'; echo ar | sed -e ; fi; fi` x" \
CC="gcc" CFLAGS="-g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \
BUILD_PREFIX_1="ignore-" \
LIBGCC2_CFLAGS="-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 -m32 " \
MULTILIB_CFLAGS=" -m32" T=32/ 32/crtbeginT.o
make[5]: Entering directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
./xgcc -B./ -B/usr/local/gccgraph/x86_64-unknown-linux-gnu/bin/ -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/include -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/sys-include -L/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I32 -I../../gcc-3.4.6/gcc -I../../gcc-3.4.6/gcc/32 -I../../gcc-3.4.6/gcc/../include -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
-c ../../gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
-o 32/crtbeginT.o
append dep file ../../gcc-3.4.6/gcc/crtstuff.c.cdepn
make[5]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
./xgcc -B./ -B/usr/local/gccgraph/x86_64-unknown-linux-gnu/bin/ -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/include -isystem /usr/local/gccgraph/x86_64-unknown-linux-gnu/sys-include -L/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc/../ld -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, -Wl,--version-script=libgcc/32/ -o 32/ -m32 libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_cmpdi2.o libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o libgcc/32/_floatditf.o libgcc/32/_clear_cache.o libgcc/32/_enable_execute_stack.o libgcc/32/_trampoline.o libgcc/32/__main.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o libgcc/32/_ffssi2.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o libgcc/32/_clzsi2.o libgcc/32/_clzdi2.o libgcc/32/_ctzsi2.o libgcc/32/_ctzdi2.o libgcc/32/_popcount_tab.o libgcc/32/_popcountsi2.o libgcc/32/_popcountdi2.o libgcc/32/_paritysi2.o libgcc/32/_paritydi2.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o libgcc/32/unwind-dw2.o libgcc/32/unwind-dw2-fde-glibc.o libgcc/32/unwind-sjlj.o libgcc/32/gthr-gnat.o libgcc/32/unwind-c.o -lc && rm -f && if [ -f 32/ ]; then mv -f 32/ 32/; else true; fi && mv 32/ 32/ && ln -s 32/
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crti.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/../lib/crtn.o' is incompatible with i386 output
collect2: ld returned 1 exit status
make[4]: *** [32/] Error 1
make[4]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
make[2]: *** [stage1_build] Error 2
make[2]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/ruchikalocal/tools/codeviz-1.0.11/compilers/gcc-graph/objdir'
Checking if this is CygWin
Note: This is untested, if building with Cygwin works, please email with
a report
Do not know how to fix this compile error up, exiting...
make: *** [all] Error 255
Old 07-05-2012, 02:58 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,439

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Welcome to LQ.

Codeviz :
Looks like a difficult task to build a 32bits gcc-3.4.6 on a 64bits Ubuntu.
? May be it isn't possible at all ?
And by the way : A 32bits gcc may not be what you want to use ?

There is a codeviz version for Suse 11.1 "without the patched gcc".
The source code package is : codeviz-1.0.11-14.1.src.rpm

The build result ( $ rpmbuild -bb ) from Ubuntu 11.04 - 64, made into a .deb:
... Easy to install and try out. ( And also easy to uninstall.)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.37 installation/Dual Boot/Raid config. Installation issue spacecowboy1858 Slackware - Installation 8 06-26-2012 03:54 PM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 09:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration