! 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 !
Xfce4 session 4.5.91 doesn't compile
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Ali Abdallah editbugs 2008-10-22 19:24:24 CEST
Hi, I have post that already on the mailing list.

 I'm trying to compile Xfce beta, in the configure script for
 xfce4-session i got the following warning:

 WARNING: linux/ioprio.h:  present but cannot be compiled
 WARNING: linux/ioprio.h:  check for missing prerequisite headers ?
 WARNING: linux/ioprio.h:  see the Autoconf documentation
 WARNING: linux/ioprio.h:  section "present but cannot be compiled"
 WARNING: linux/ioprio.h: proceeding with the preprocessor's result
 WARNING: linux/ioprio.h: in the future, the compiler will take precedence
 WARNING: linux/ioprio.h:  report this to the xfce4-dev@xfce.org

 and after trying to compile: derederencing pointer to incomplete type
 for line 50,51,58,59 in ioprio.h

 the alpha version compiles on my system, kernel version 2.6.24.7, Slackware 12.1 current, Please let me know if you need more information.

 Best Regards,
 Ali.
Comment 1 Brian J. Tarricone (not reading bugmail) 2008-10-22 19:59:35 CEST
That's a bit weird, butt probably ioprio.h just needs other headers included before it.  Please attach config.log and config.h.
Comment 2 Ali Abdallah editbugs 2008-10-22 20:08:49 CEST
Created attachment 1917 
config.h xfce4-session
Comment 3 Ali Abdallah editbugs 2008-10-22 20:09:19 CEST
Created attachment 1918 
config.log xfce4-session
Comment 4 Brian J. Tarricone (not reading bugmail) 2008-10-22 20:40:47 CEST
Yeah, that's what I thought.  Could you also attach /usr/include/linux/ioprio.h ?
Comment 5 Ali Abdallah editbugs 2008-10-22 20:46:00 CEST
Created attachment 1919 
ioprio.h kernel header
Comment 6 Brian J. Tarricone (not reading bugmail) 2008-11-01 04:50:08 CET
Created attachment 1938 
(hopeful) compilation fix

Can you give this patch a try?  Will need to rerun autogen.sh
Comment 7 Brian J. Tarricone (not reading bugmail) 2008-11-01 05:39:50 CET
Robby tested this on a Slackware system, said my patch worked, so I'll close it.  Ali, if you still have trouble, please reopen.

Bug #4515

Reported by:
Ali Abdallah
Reported on: 2008-10-22
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
4.5.91 (4.6 beta 1)

Attachments

config.h xfce4-session (5.54 KB, text/plain)
2008-10-22 20:08 CEST , Ali Abdallah
no flags
config.log xfce4-session (41.91 KB, text/plain)
2008-10-22 20:09 CEST , Ali Abdallah
no flags
ioprio.h kernel header (1.75 KB, text/plain)
2008-10-22 20:46 CEST , Ali Abdallah
no flags
(hopeful) compilation fix (2.69 KB, patch)
2008-11-01 04:50 CET , Brian J. Tarricone (not reading bugmail)
no flags

Additional information