! 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 !
Problem compiling xfce4-session
Status:
CLOSED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description William Poetra Yoga Hadisoeseno 2004-12-26 10:04:08 CET
make stops with "size of XfceRc isn't known" when I compile xfce4-session
without legacy session management support. This error (or warning? I forgot)
occurs when compiling the file xfce4-session/xfsm-legacy.c.

The problem is, when we disable legacy session management, the macro
LEGACY_SESSION_MANAGEMENT is not defined, and thus the header
libxfcegui4/libxfcegui4.h is not included (it's under an #if directive that
checks for the macro LEGACY_SESSION_MANAGEMENT). But the functions
xfsm_legacy_store_session() and xfsm_legacy_load_session() each takes a pointer
to an XfceRc variable (a structure aliased by typedef I think), thus compilation
fails.


Reproducible: Always
Steps to Reproduce:
1. Disable legacy session management when configuring (--disable-legacy-sm).
2. Compile.
3. 

Actual Results:  
make stops with an error about "the storage size of XfceRc isn't known". I
forgot the details since I patched the file.

Expected Results:  
It should compile without errors.
Comment 1 William Poetra Yoga Hadisoeseno 2004-12-26 10:07:33 CET
Created attachment 129 
Patch to include libxfcegui4/libxfcegui4.h regardless

This patch is for xfce4-session 4.1.99.2, but it still applies to 4.1.99.3.
Comment 2 Benedikt Meurer editbugs 2004-12-27 17:26:21 CET
Fixed now, thanks.

Bug #614

Reported by:
William Poetra Yoga Hadisoeseno
Reported on: 2004-12-26
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Patch to include libxfcegui4/libxfcegui4.h regardless (350 bytes, patch)
2004-12-26 10:07 CET , William Poetra Yoga Hadisoeseno
no flags

Additional information