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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2008, 10:43 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568
Rep:
|
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.
|
|
|
01-21-2008, 10:56 PM
|
#2
|
Member
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568
Original Poster
Rep:
|
mmm. Different approach Any comments, please ?
Last edited by DBabo; 01-21-2008 at 10:57 PM.
|
|
|
01-26-2008, 11:24 PM
|
#3
|
Member
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568
Original Poster
Rep:
|
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 ?
|
|
|
04-19-2009, 04:40 PM
|
#4
|
Member
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568
Original Poster
Rep:
|
to close
to update the thread:
dvdbackup, unfortunately "ceased to exist"  vobcopy is "a new way". "new" for me .
|
|
|
04-19-2009, 04:59 PM
|
#5
|
Member
Registered: Apr 2009
Posts: 108
Rep:
|
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
|
|
|
04-19-2009, 05:55 PM
|
#6
|
Member
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568
Original Poster
Rep:
|
interesting. so how did it worked ?
|
|
|
All times are GMT -5. The time now is 04:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|