You are not logged in.

#1 2007-02-11 04:25:50

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

compiling dvdbackup on x86_64

Hi all,
I've been trying to get dvdbackup to compile on x86_64 for a while now, but I'm stumped.

[varun@AcharyaX64 src]$ gcc -o dvdbackup -I/usr/include/dvdread -L/usr/lib/libdvdread -ldvdread dvdbackup.c
/tmp/cc3d8hR1.o: In function `DVDGetFileSet':
dvdbackup.c:(.text+0x3954): undefined reference to `UDFFindFile'
dvdbackup.c:(.text+0x39ba): undefined reference to `UDFFindFile'
dvdbackup.c:(.text+0x3a4d): undefined reference to `UDFFindFile'
dvdbackup.c:(.text+0x3ba5): undefined reference to `UDFFindFile'
dvdbackup.c:(.text+0x3c54): undefined reference to `UDFFindFile'
/tmp/cc3d8hR1.o:dvdbackup.c:(.text+0x3d28): more undefined references to `UDFFindFile' follow
collect2: ld returned 1 exit status

I've tried the usual patches for libdvdread and dvdbackup from various sources, but it doesn't seem to help.

Thanks in advance.

Last edited by ganja_guru (2007-02-11 13:09:53)

Offline

#2 2007-02-11 17:17:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: compiling dvdbackup on x86_64

It's a problem with GCC 4.1.2. It will compile fine with GCC 4.0.3. If you have a place to upload it, I'll be glad to send to you.

Last edited by skottish (2007-02-11 17:18:26)

Offline

#3 2007-02-12 09:13:43

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: compiling dvdbackup on x86_64

Thanks for the heads up, skottish. I compiled gcc 4.0.3 and got it to build. I think dvdbackup is incompatible with the newer libdvdread version(which builds cleanly with latest gcc), and has to use libdvdread-0.9.3 (which doesn't build with newest gcc). Works fine now.

Offline

Board footer

Powered by FluxBB