Welcome to the most active Linux Forum on the web.
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 09-16-2015, 01:31 PM   #1
LQ Newbie
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
error compiling ltfs support both from quantum and HP in debian jessie

When I try to compile LTFS either with HP_StoreOpen_Standalone_2.2.1 or qtmltfs-2.1.2-2 on debian linux 8 64 bit I get a very similar error that reports:
../../src/ltfs_fuse.h:155:8: error: redefinition of ‘struct file_handle’
struct file_handle {
In file included from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61:0,
from /usr/include/fcntl.h:35,
from ../../src/libltfs/ltfs.h:81,
from ../../src/ltfs_fuse.h:69,
from iosched.c:48:
/usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:311:8: note: originally defined here
struct file_handle
I can not find a solution, in my previous linux installation everything worked fine following the instructions in:
Any pointers very welcomed.
Old 09-17-2015, 09:17 AM   #2
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
That looks like a bug to me.

I got qtmltfs-2.1.2-2 to compile by changing "struct file_handle" to "struct ltfs_file_handle" in ltfs_fuse.h and ltfs_fuse.c.

You can edit those files or try using sed:
sed -i 's/struct file_handle/struct ltfs_file_handle/g' ltfs_fuse.*
I don't have a tape drive to test with though . . .

2 members found this post helpful.
Old 09-17-2015, 09:45 AM   #3
LQ Newbie
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
That worked for me too and the tape drive works correctly now.


ltfs, qtmltfs

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
[SOLVED] Blackscreen installing Debian Jessie upgrading from Debian Wheezy ismaeltxu Linux - Newbie 2 05-11-2015 01:47 AM
Debian's new Art Theme (Jessie aka Debian 8.x). jens Debian 2 11-11-2014 02:48 AM
[SOLVED] debian jessie efi grub read error acer e1-532 zomane Linux - Laptop and Netbook 1 04-19-2014 03:02 PM
[SOLVED] Compiling Quantum LTFS Software on Debian phillc Linux - Software 23 04-09-2014 03:22 AM
No Net-SNMP Support Compiling Error bubbers214 Red Hat 1 05-20-2005 04:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:19 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