LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-21-2008, 10:43 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
Question CentOS 5 : unable to compile dvdbackup


hello,
have libdvdread-devel.i386 0:0.9.7-1.el5.rf ( rpmforge ).
got dvdbackup-0.1.1-1.rf.src.rpm from DAG's repo and during
Code:
[root@server redhat]# rpmbuild -bb ./SPECS/dvdbackup-0.1.1-rf.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6461
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf dvdbackup
+ /bin/gzip -dc /usr/src/redhat/SOURCES/dvdbackup-0.1.1.tar.gz
+ tar -xvvf -
drwxr-xr-x olof/users        0 2002-08-11 21:39:43 dvdbackup/
drwxr-xr-x olof/users        0 2002-07-30 01:32:08 dvdbackup/CVS/
-rw-r--r-- olof/users       65 2002-07-30 01:29:54 dvdbackup/CVS/Root
-rw-r--r-- olof/users       10 2002-07-30 01:29:54 dvdbackup/CVS/Repository
-rw-r--r-- olof/users      137 2002-07-30 01:32:08 dvdbackup/CVS/Entries
drwxr-xr-x olof/users        0 2002-08-05 02:08:39 dvdbackup/src/
drwxr-xr-x olof/users        0 2002-08-05 02:09:58 dvdbackup/src/CVS/
-rw-r--r-- olof/users       65 2002-07-30 01:29:54 dvdbackup/src/CVS/Root
-rw-r--r-- olof/users       14 2002-07-30 01:29:54 dvdbackup/src/CVS/Repository
-rw-r--r-- olof/users       46 2002-08-05 02:09:58 dvdbackup/src/CVS/Entries
-rw-r--r-- olof/users    70190 2002-08-05 02:08:39 dvdbackup/src/dvdbackup.c
-rw-r--r-- olof/users    17992 2002-07-30 01:30:54 dvdbackup/COPYING
-rw-r--r-- olof/users     1415 2002-07-30 01:31:06 dvdbackup/INSTALL
-rw-r--r-- olof/users     4172 2002-07-30 01:30:54 dvdbackup/README
-rw------- olof/users    16384 2002-08-11 21:39:47 dvdbackup/.README.swp
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dvdbackup
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6461
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd dvdbackup
+ gcc -O2 -g -march=i386 -mcpu=i686 -ldvdread -ldl src/dvdbackup.c -o dvdbackup
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from /usr/include/dvdread/ifo_read.h:24,
                 from src/dvdbackup.c:34:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
In file included from /usr/include/dvdread/ifo_read.h:24,
                 from src/dvdbackup.c:34:
/usr/include/dvdread/ifo_types.h:68: error: expected specifier-qualifier-list before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:78: error: expected specifier-qualifier-list before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:143: error: expected specifier-qualifier-list before ‘uint16_t’
/usr/include/dvdread/ifo_types.h:231: error: expected specifier-qualifier-list before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:258: error: expected specifier-qualifier-list before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:270: error: expected specifier-qualifier-list before ‘uint16_t’
/usr/include/dvdread/ifo_types.h:283: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgc_program_map_t’
ideas are very welcome.
 
Old 01-21-2008, 10:56 PM   #2
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
mmm. Different approach Any comments, please ?

Last edited by DBabo; 01-21-2008 at 10:57 PM.
 
Old 01-26-2008, 11:24 PM   #3
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
well, either i'm slow or just missing smth, but vobcopy seems not to copy the AUDIO_TS folders off the disk with "-m" switch.
Any comments, please ?
 
Old 04-19-2009, 04:40 PM   #4
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
to close

to update the thread:
dvdbackup, unfortunately "ceased to exist" vobcopy is "a new way". "new" for me .
 
Old 04-19-2009, 04:59 PM   #5
maresmasb
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
The gcc error mesages state that:
Quote:
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
#error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
My naive approach would be to avoid the deprecated -mcpu option in the Makefile and/or include the mentioned headers.

Last edited by Matir; 11-10-2010 at 01:17 PM. Reason: Removed Link Spam
 
Old 04-19-2009, 05:55 PM   #6
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
interesting. so how did it worked ?
 
  


Reply


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
Compile problem - maildrop in CentOS 5.1 x64_86 billymayday Linux - Server 2 12-07-2007 06:12 AM
Unable to install linux kernel 2.6.23.1 on CentOS 4 gdkool Linux - General 7 11-12-2007 10:31 PM
SVN compile issues - centos 5 64bit neocontrol Linux - Server 1 11-06-2007 11:07 AM
how to compile c++ programs in centos version dilinjd Linux - General 2 04-08-2007 05:32 PM
how I can centos ntfs compile? Grave Linux - General 2 12-23-2005 07:50 PM

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

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