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 09-16-2015, 01:31 PM   #1
GeluLopez
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:
http://www.linuxquestions.org/questi...debian-894103/
Any pointers very welcomed.
Thanks
Gelu
 
Old 09-17-2015, 09:17 AM   #2
norobro
Member
 
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:
Code:
sed -i 's/struct file_handle/struct ltfs_file_handle/g' ltfs_fuse.*
I don't have a tape drive to test with though . . .

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

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


Reply

Tags
ltfs, qtmltfs



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

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

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