The attached patch should get over the following warnings:
''''
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/hal -g -O2 -g -Wall -MT sunos_la-sunos.lo -MD -MP -MF .deps/sunos_la-sunos.Tpo -c -o sunos_la-sunos.lo test -f 'sunos.c' || echo './'
sunos.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/hal -g -O2 -g -Wall -MT sunos_la-sunos.lo -MD -MP -MF .deps/sunos_la-sunos.Tpo -c sunos.c -fPIC -DPIC -o .libs/sunos_la-sunos.o
sunos.c: In function 'solaris_get_raw_desc':
sunos.c:702:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sunos.c:730:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
''''