compile time error in audio/xmixer 8.2-STABLE

William Bulley web at umich.edu
Sat Nov 26 00:11:23 UTC 2011


I just updated my ports tree (csup -L2 ports-supfile) and while I was
building audio/xmixer I got the following unexpected error:

===>  Building for xmixer-gtk-0.9.4_6
[snip]
cc -O2 -fno-strict-aliasing -pipe -std=gnu89 -I/usr/local/include/  -I/usr/local/include -DDEFAULT_MIXER=\"/dev/mixer\"  -DOSS -I. -I./icons  -DVERSION=\"0.9.4\"  `pkg-config gtk+ --cflags` -c gui_gtk.c
gui_gtk.c:480: warning: cast from pointer to integer of different size
gui_gtk.c:480: error: initializer element is not constant
gui_gtk.c:480: error: (near initialization for 'menu_items[1].callback_action')
gui_gtk.c:481: warning: cast from pointer to integer of different size
gui_gtk.c:481: error: initializer element is not constant
gui_gtk.c:481: error: (near initialization for 'menu_items[2].callback_action')
gui_gtk.c:485: warning: cast from pointer to integer of different size
gui_gtk.c:485: error: initializer element is not constant
gui_gtk.c:485: error: (near initialization for 'menu_items[6].callback_action')
gui_gtk.c: In function 'gui_main':
gui_gtk.c:655: warning: cast from pointer to integer of different size
*** Error code 1

Stop in /usr/ports/audio/xmixer/work/xmixer.
*** Error code 1

Stop in /usr/ports/audio/xmixer.

What is this compile error caused by and how do I workaround it?  Thanks.

Regards,

web...

-- 
William Bulley                     Email: web at umich.edu

72 characters width template ----------------------------------------->|


More information about the freebsd-ports mailing list