! 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 !
Thunar compilation fails - SLAX 5.1.7 rc2
Status:
CLOSED: INVALID

Comments

Description Ganesh Gunasegaran 2006-07-11 18:52:11 CEST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

Thunar compilation fails with the following error

thunar-renamer-pair.c: In function `thunar_renamer_pair_get_type':
thunar-renamer-pair.c:37: warning: passing arg 1 of `g_boxed_type_register_static' makes pointer from integer without a cast
thunar-renamer-pair.c: In function `thunar_renamer_pair_new':
thunar-renamer-pair.c:69: error: syntax error before "ThunarRenamerPair"
thunar-renamer-pair.c: In function `thunar_renamer_pair_free':
thunar-renamer-pair.c:116: error: syntax error before "ThunarRenamerPair"
make[3]: *** [Thunar-thunar-renamer-pair.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Build Tested
~~~~~~~~~~~~
Thunar-0.3.2beta2

My Environment
~~~~~~~~~~~~~~
- SLAX 5.1.7 rc2 
- GCC 3.4.6
- GLIB 2.0+

Please let me know if you need more details.

Reproducible: Always

Steps to Reproduce:
Comment 1 Benedikt Meurer editbugs 2006-07-12 14:26:37 CEST
Hm, looks like your system has mixed up GLib headers. The glibconfig.h seems to tell the version is 2.10, but several functions that are defined in the full set of GLib 2.10 headers are not defined.
Comment 2 Ganesh Gunasegaran 2006-07-12 16:23:25 CEST
(In reply to comment #1)
> Hm, looks like your system has mixed up GLib headers. The glibconfig.h seems to
> tell the version is 2.10, but several functions that are defined in the full
> set of GLib 2.10 headers are not defined.
> 

Yaa, not sure how it is messed. 
 
But once I forced 
    renamer_pair = g_new (ThunarRenamerPair, 1);
instead of 
    renamer_pair = g_slice_new (ThunarRenamerPair);
the compilation went thro' fine. Beta 2 looks solid :) 

Cheers,
GG



Comment 3 Benedikt Meurer editbugs 2006-07-14 14:50:53 CEST
Seems to be a problem with your GLib installation then, so resolving this to INVALID.

Bug #2016

Reported by:
Ganesh Gunasegaran
Reported on: 2006-07-11
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information