LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-24-2018, 10:17 PM   #1
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Rep: Reputation: Disabled
Ftape-tools undefined reference errors


Hi,

I hope this is the right category.

I have an old 1994 era computer that's running Debian 1.3 with kernel 2.0.30 that I compiled myself. GCC version 2.7.2.1.

Yes, I know it's an old distribution and old kernel but I like messing with old computers and old hardware and I don't really want to put anything newer on it given this computers specs.

I'm trying to compile ftape-tools-1.09 but I'm running into an error that I know nothing about and I'm hoping someone here can shed some light and hopefully get me on the right track.

I downloaded the ftape-tools-1.09 source from here (incase someone wants to look through it. It's ftape-tools-1.09.tar.gz): ftp://ftp.ibiblio.org/pub/micro/pc-s...DEX.short.html

Here's the terminal output: https://pastebin.com/cFNwTcGq

If anyone needs anything else just ask. I get lost when these errors pop up during make.

I'd like to get it compiled and installed so I can format my tapes.

Thanks!

Last edited by Elderking1986; 02-25-2018 at 04:27 AM. Reason: Solved
 
Old 02-25-2018, 03:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
Compiling on such an old box is difficult. You need to have libraries, includes or header files, and source from the period. You look to have broken that rule. It could be the toolchain (kernel headers, glibc, and glibc). Notably the kernel headers have changed position, GCC has been totally revised.

Try to come up with a specific lib or header it's complaining about. Fix that. Then try again. That's all you can do. Then repeat until you get fed up, until it compiles, or until you run out of options. If you run into a toolchain problem, I would advise you to give up.
 
Old 02-25-2018, 04:25 AM   #3
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Compiling on such an old box is difficult. You need to have libraries, includes or header files, and source from the period. You look to have broken that rule. It could be the toolchain (kernel headers, glibc, and glibc). Notably the kernel headers have changed position, GCC has been totally revised.

Try to come up with a specific lib or header it's complaining about. Fix that. Then try again. That's all you can do. Then repeat until you get fed up, until it compiles, or until you run out of options. If you run into a toolchain problem, I would advise you to give up.
Thanks. I got it though, just not with that particular version. I went back to the site I linked to and downloaded ftape-tools-1.07 and I had no issues compiling that one once I installed sgml-tools from the Debian CD.

I'd still like to know what the actual issue was with the other version. Oh well.

I'll mark this as solved.

Last edited by Elderking1986; 02-25-2018 at 04:26 AM. Reason: Fixed typos
 
Old 02-26-2018, 02:34 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
The whole point of version numbers is that things change. You have to stick with stuff old enough to be compiled by your tool chain. It can be difficult to spot an error linked to glibc because it often doesn't return a file name.
 
  


Reply



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
undefined reference to `something' errors. msbstar Linux - Newbie 8 04-27-2014 12:36 PM
[SOLVED] Undefined reference errors with static compile - dynamic works fine. John H. Programming 13 02-22-2012 04:31 AM
ntpd - Undefined reference errors during install chris.zeman Linux - Software 1 08-03-2006 06:28 PM
linking problems - 'undefined reference' errors back2morrie Programming 1 06-14-2005 08:02 AM
Undefined Reference errors during make. sheenak Programming 5 05-14-2004 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 AM.

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