! 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 !
struct kinfo_proc declared inside parameter list
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description miwi 2010-11-25 05:32:26 CET
Howdy,


FreeBSD 8.1 Stable,

LC_ALL=C /usr/local/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po xfce-session-settings.desktop.in xfce-session-settings.desktop
Generating and caching the translation database
Merging translations into xfce-session-settings.desktop.
gmake[3]: Leaving directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/settings'
gmake[2]: Leaving directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/settings'
Making all in xfce4-session
gmake[2]: Entering directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/xfce4-session'
gmake  all-am
gmake[3]: Entering directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/xfce4-session'
  CC     xfce4_session-ice-layer.o
  CC     xfce4_session-main.o
  CC     xfce4_session-shutdown.o
  CC     xfce4_session-sm-layer.o
  CC     xfce4_session-xfsm-chooser.o
  CC     xfce4_session-xfsm-client.o
  CC     xfce4_session-xfsm-compat-gnome.o
  CC     xfce4_session-xfsm-compat-kde.o
  CC     xfce4_session-xfsm-dns.o
  CC     xfce4_session-xfsm-error.o
  CC     xfce4_session-xfsm-fadeout.o
  CC     xfce4_session-xfsm-global.o
  CC     xfce4_session-xfsm-legacy.o
  CC     xfce4_session-xfsm-manager.o
  CC     xfce4_session-xfsm-marshal.o
  CC     xfce4_session-xfsm-properties.o
  CC     xfce4_session-xfsm-shutdown-helper.o
xfsm-shutdown-helper.c:189: warning: 'struct kinfo_proc' declared inside parameter list
xfsm-shutdown-helper.c:189: warning: its scope is only this definition or declaration, which is probably not what you want
xfsm-shutdown-helper.c: In function 'get_kinfo_proc':
xfsm-shutdown-helper.c:197: error: invalid application of 'sizeof' to incomplete type 'struct kinfo_proc' 
xfsm-shutdown-helper.c: In function 'get_start_time_for_pid':
xfsm-shutdown-helper.c:270: error: storage size of 'p' isn't known
gmake[3]: *** [xfce4_session-xfsm-shutdown-helper.o] Error 1
gmake[3]: Leaving directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/xfce4-session'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1/xfce4-session'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/miwi/dev/xfce4/x11-wm/xfce4-session/work/xfce4-session-4.7.1'
gmake: *** [all] Error 2
*** Error code 1
Comment 1 Nick Schermer editbugs 2010-11-25 18:22:53 CET
Fixed in 3e92aac. Was also reported on the mailing list, but I missed ack, so never committed the fix.

Bug #6870

Reported by:
miwi
Reported on: 2010-11-25
Last modified on: 2010-11-25

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Attachments

Additional information