! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfburn (svn) compilation error
Status:
RESOLVED: WORKSFORME

Comments

Description Jos van Wolput 2008-08-06 04:54:05 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: 

When compiling revision 5204 of xfburn I get the following make error:

xfburn-burn-data-composition-base-dialog.c:469: error: ‘struct burn_source’ has no member n                       amed ‘read_xt’
xfburn-burn-data-composition-base-dialog.c: In function ‘cb_dialog_response’:
xfburn-burn-data-composition-base-dialog.c:676: warning: assignment makes pointer from inte                       ger without a cast
make[2]: *** [xfburn-xfburn-burn-data-composition-base-dialog.o] Error 1
make[2]: Leaving directory `/home/jos/src/xfce4/xfburn/xfburn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jos/src/xfce4/xfburn'
make: *** [all] Error 2


Reproducible: Always
Comment 1 David Mohr 2008-08-06 22:32:03 CEST
You're using a too old version of libburn. I fixed the code, and it should be now binary compatible, but you still need at least libburn 0.4.2 to compile. That's not going to change.

We had incorrect info in configure, that's bumped to require the new version now in rev. 5206.
Comment 2 Jos van Wolput 2008-08-07 02:22:27 CEST
(In reply to comment #1)
> You're using a too old version of libburn. I fixed the code, and it should be
> now binary compatible, but you still need at least libburn 0.4.2 to compile.

The new configuration complains libburn-1 >= 0.4.2... not found.
I am using Debian Sid with a package libburn4 v.0.4.4-1 installed. Debian doesn't have a package libburn-1 (only an old version 0.2-2 in Sarge and Etch).
Comment 3 David Mohr 2008-08-07 03:24:04 CEST
Interesting. I'm mainly developing on Debian sid as well, so it's very funny that the test fails. I'll look into it.
Comment 4 David Mohr 2008-08-07 03:40:47 CEST
My configure output says:
checking for libburn-1 >= 0.3.0... 0.4.4

My config.log doesn't say much more:
configure:22609: checking for libburn-1 >= 0.3.0
configure:22613: result: 0.4.4

Could you post what your output & log says? Thanks.
Comment 5 Jos van Wolput 2008-08-07 04:32:17 CEST
(In reply to comment #4)

> 
> Could you post what your output & log says? Thanks.
> 

*** The required package libburn-1 was not found on your system.
*** Please install libburn-1 (atleast version 0.4.2) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

configure:13576: checking for libburn-1 >= 0.4.2
configure:13618: result: not found

The package libburn4 is installed with aptitude from Debian Sid.
I configure xfburn using ./autogen.sh --prefix=/usr
and have /usr/lib/libburn.so.4 pointing to /usr/lib/libburn.so.4.9.0
Comment 6 David Mohr 2008-08-07 04:53:21 CEST
> The package libburn4 is installed with aptitude from Debian Sid.
> I configure xfburn using ./autogen.sh --prefix=/usr
> and have /usr/lib/libburn.so.4 pointing to /usr/lib/libburn.so.4.9.0
 
Just for the sake of completeness, you do have the Debian package libburn-dev installed, right?
Comment 7 Jos van Wolput 2008-08-07 05:31:20 CEST
(In reply to comment #6)

> Just for the sake of completeness, you do have the Debian package libburn-dev
> installed, right?
> 

Sorry, it wasn't installed.
The compiler didn't complain about this!
After installing libburn-dev no more compilation problems.
Thanks! 
Comment 8 David Mohr 2008-08-07 05:35:54 CEST
Glad it works now. And it made me discover the correct req., so it's all good :-D.
Comment 9 Jos van Wolput 2008-08-17 03:40:39 CEST
When compiling revision 5261 of xfburn I get the following make error:
---
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:209: first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_get_disc_type':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:236: multiple definition of `xfburn_data_disc_usage_get_disc_type'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:236: first defined here
xfburn-xfburn-data-disc-usage.o:(.data+0x0): multiple definition of `datadisksizes'
xfburn-xfburn-disc-usage.o:(.data+0x0): first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_sub_size':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:229: multiple definition of `xfburn_data_disc_usage_sub_size'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:229: first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_add_size':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:222: multiple definition of `xfburn_data_disc_usage_add_size'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:222: first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_set_size':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:215: multiple definition of `xfburn_data_disc_usage_set_size'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:215: first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_get_type':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:83: multiple definition of `xfburn_data_disc_usage_get_type'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:83: first defined here
xfburn-xfburn-data-disc-usage.o: In function `xfburn_data_disc_usage_new':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-data-disc-usage.c:245: multiple definition of `xfburn_data_disc_usage_new'
xfburn-xfburn-disc-usage.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-disc-usage.c:245: first defined here
collect2: ld returned 1 exit status
make[2]: *** [xfburn] Error 1
make[2]: Leaving directory `/home/jos/src/xfce4/xfburn/xfburn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jos/src/xfce4/xfburn'
make: *** [all] Error 2
---
Comment 10 Jos van Wolput 2008-08-22 00:53:56 CEST
When compiling revision 5284 of xfburn I get the following make errors:
---
/home/jos/src/xfce4/xfburn/xfburn/xfburn-burn-audio-cd-composition-dialog.c:115: multiple d
efinition of `xfburn_burn_data_composition_base_dialog_get_type'
xfburn-xfburn-burn-data-composition-base-dialog.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-
burn-data-composition-base-dialog.c:115: first defined here
xfburn-xfburn-burn-audio-cd-composition-dialog.o: In function `xfburn_burn_data_composition
_base_dialog_new':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-burn-audio-cd-composition-dialog.c:704: multiple d                       efinition of `xfburn_burn_data_composition_base_dialog_new'
xfburn-xfburn-burn-data-composition-base-dialog.o:/home/jos/src/xfce4/xfburn/xfburn/xfburn-                       burn-data-composition-base-dialog.c:704: first defined here
xfburn-xfburn-audio-composition.o: In function `cb_begin_burn':
/home/jos/src/xfce4/xfburn/xfburn/xfburn-audio-composition.c:490: undefined reference to `g                       enerate_audio_src'
/home/jos/src/xfce4/xfburn/xfburn/xfburn-audio-composition.c:492: undefined reference to `x                       fburn_data_disc_usage_get_disc_type'
/home/jos/src/xfce4/xfburn/xfburn/xfburn-audio-composition.c:494: undefined reference to `x                       fburn_burn_audio_cd_composition_dialog_new'
collect2: ld returned 1 exit status
make[2]: *** [xfburn] Error 1
make[2]: Leaving directory `/home/jos/src/xfce4/xfburn/xfburn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jos/src/xfce4/xfburn'
make: *** [all] Error 2
---
Comment 11 David Mohr 2008-11-23 06:58:06 CET
AFAIK current svn compiles just fine.

Bug #4264

Reported by:
Jos van Wolput
Reported on: 2008-08-06
Last modified on: 2008-11-23

People

Assignee:
Xfburn Bug Triage
CC List:
1 user

Version

Version:
SVN trunk

Attachments

Additional information