LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2015, 08:15 AM   #1
jacintodavila
LQ Newbie
 
Registered: Oct 2015
Distribution: debian, canaima, ubuntu
Posts: 2

Rep: Reputation: Disabled
building htk


Hi everyone,

I'm trying to overcome this error at building htk:

if [ xHSLab = xHSLab ] ; then \
gcc34 -o HSLab -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib -lm -lX11 ; \
else \
gcc34 -o HSLab -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -DPHNALG HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib -lm ; fi
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libX11.a when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/crt1.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/crti.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/crtn.o' is incompatible with i386 output
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1

any hint?
 
Old 10-08-2015, 08:42 AM   #2
SummerisHERE
LQ Newbie
 
Registered: Oct 2015
Posts: 9

Rep: Reputation: Disabled
Hi is this the comment section? Im new!
 
Old 10-08-2015, 01:07 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
xHSLab
????????

can you at least provide a link to where you got this antique software that needs to be built with the LEGACY compatibility version of gcc

3.4 is a OLD version of gcc

good for software from 10 years ago


there is a unsupported 2.5 year old
"The Hidden Markov Model Toolkit (HTK) from University of Cambridge. "
on git

but that should build with gcc 4.1 or 4.3
but
http://htk.eng.cam.ac.uk/
has 3.5 from this year

you DID REGISTER!!! to get a user name and pass for the code ?? right ???
 
Old 10-08-2015, 03:36 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://htk.eng.cam.ac.uk/ >> HTK-3.4.1.tar.gz .

@jacintodavila : Looks like HTK doesn't like a 64bits OS. EDIT : See post #6.

There are no issues with a 32bits OS :
htk/ compiles OK, with gcc-4.9.2 !

A 64bits OS : I have the same errors as shown in post #1.
( Debian Jessie, and Slackware64 - 14.1 ).


-

Last edited by knudfl; 10-17-2015 at 03:30 AM.
 
Old 10-08-2015, 04:06 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@SummerisHERE, post #2.

These are the Forums : http://www.linuxquestions.org/questions/

And no, you cannot use another members thread for an off topic comment.
Please (re)read ``LQ Rules`` http://www.linuxquestions.org/linux/rules.html


-
 
Old 10-16-2015, 09:47 PM   #6
jacintodavila
LQ Newbie
 
Registered: Oct 2015
Distribution: debian, canaima, ubuntu
Posts: 2

Original Poster
Rep: Reputation: Disabled
Solved

Sorry everyone. After installing /compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb it all went well. It does work on 64bits!. Thank you.
 
  


Reply

Tags
htk, htk-3.4.1



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
Building an out-of-tree module without building the kernel source lijodevasia Linux - General 2 08-01-2013 12:45 AM
Building a PC! Cityscape Linux - Hardware 28 01-28-2013 01:17 PM
i'm trying to install HTK on my ubuntu 11.04 and i have these warnings: raszky Linux - Newbie 3 09-13-2012 07:45 PM
Can anyone help me with HTK installation in ubuntu 9.04 32bit OS raszky Linux - Newbie 1 09-09-2012 10:23 PM
new pc, building own rusty_slacker General 11 01-10-2005 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

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