Hi,

Trying to compile Stefan's HAL port to Solaris 10, it seems
to want libfstyp.h.  However this file is not present
on my solaris 10u5 slice.  I can see its in package
SUNhea on a sxce b75 slice.  I was wondering if anyone
had any ideas about this?

pkgbuild:       /opt/SunStudio12/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_BIN_DIR=\""/usr/bin/amd64"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" 
-I../../.. -I../../../hald -I../../../libhal -I../../../libhal-storage 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include   `/opt/foss/bin/net-snmp-config --cflags`  
-D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE 
-DUNICODE -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_C_SOURCE=200112L 
-D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99  -I/usr/include 
-I/opt/foss/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/lib/amd64 
-R/usr/lib/amd64 -Xc -errshort=full -errfmt=error -errwarn=%none -xcsi 
-xustr=ascii_utf16_ushort -xalias_level=std -features=extinl -xF=%none 
-xbuiltin=%all -xinline=%auto -xprefetch=auto 
-xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xsafe=mem 
-xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z 
rescan -z absexec -xipo=0 -xldscope=symbolic -xlibmil -xO3 -xregs=no%frameptr 
-xjobs=2 -Kpic -xrestrict=%all -xipo=0 -xtarget=opteron -m64 -xarch=sse2 
-xchip=opteron -xcache=64/64/2:1024/64/16 -lm -ldl -lc -lpthread -lposix4 -lrt 
-mt -L/opt/foss/lib/amd64 -L/usr/lib/amd64 -R/opt/foss/lib/amd64 
-R/usr/lib/amd64  -c -o hald_probe_volume-probe-volume.o `test -f 
'probe-volume.c' || echo './'`probe-volume.c
pkgbuild: "probe-volume.c", line 34: error: cannot find include file: 
<libfstyp.h>
pkgbuild: "probe-volume.c", line 448: error: undefined symbol: fstyp_handle_t
pkgbuild: "probe-volume.c", line 448: error: syntax error before or at: 
fstyp_handle
pkgbuild: "probe-volume.c", line 627: warning: implicit function declaration: 
fstyp_init
pkgbuild: "probe-volume.c", line 627: error: undefined symbol: fstyp_handle
pkgbuild: "probe-volume.c", line 631: warning: implicit function declaration: 
fstyp_ident
pkgbuild: "probe-volume.c", line 631: error: undefined symbol: fstyp_handle
pkgbuild: "probe-volume.c", line 632: warning: implicit function declaration: 
fstyp_get_attr
pkgbuild: "probe-volume.c", line 641: warning: implicit function declaration: 
fstyp_fini
pkgbuild: "probe-volume.c", line 657: error: undefined symbol: fstyp_handle
pkgbuild: "probe-volume.c", line 677: error: cannot recover from previous errors
pkgbuild: cc: acomp failed for probe-volume.c
pkgbuild: make[5]: *** [hald_probe_volume-probe-volume.o] Error 2
pkgbuild: make[5]: Leaving directory 
`/h/goanna/2/os_5.10/cbe/BUILD/FOSShal-0.5.9.1/amd64/HAL/0.5.9.1/hald/solaris/probing'
pkgbuild: make[4]: *** [all-recursive] Error 1
pkgbuild: make[4]: Leaving directory 
`/h/goanna/2/os_5.10/cbe/BUILD/FOSShal-0.5.9.1/amd64/HAL/0.5.9.1/hald/solaris'
pkgbuild: make[3]: *** [all-recursive] Error 1
pkgbuild: make[3]: Leaving directory 
`/h/goanna/2/os_5.10/cbe/BUILD/FOSShal-0.5.9.1/amd64/HAL/0.5.9.1/hald'
pkgbuild: make[2]: *** [all] Error 2
pkgbuild: make[2]: Leaving directory 
`/h/goanna/2/os_5.10/cbe/BUILD/FOSShal-0.5.9.1/amd64/HAL/0.5.9.1/hald'
pkgbuild: make[1]: *** [all-recursive] Error 1
pkgbuild: make[1]: Leaving directory 
`/h/goanna/2/os_5.10/cbe/BUILD/FOSShal-0.5.9.1/amd64/HAL/0.5.9.1'
pkgbuild: make: *** [all] Error 2
pkgbuild: Bad exit status from /var/tmp/pkgbuild-mwright/pkgbuild-tmp-2.142 
(%build)
--- command output ends --- finished at Wed May 28 23:59:47 EST 2008

INFO: pkgbuild -ba finished at Wed May 28 23:59:47 EST 2008

ERROR: FOSShal FAILED
INFO: Check the build log
in /h/goanna/2/os_5.10/cbe/build-logs/FOSShal.log for details

And this is how I found it in a sxce b75 slice:

# pkgchk -R /.alt.c1d0s3 -l -p /usr/include/libfstyp.h 
Pathname: /.alt.c1d0s3/usr/include/libfstyp.h
Type: regular file
Expected mode: 0644
Expected owner: root
Expected group: bin
Expected file size (bytes): 2580
Expected sum(1) of contents: 15127
Expected last modification: Oct 03 14:54:21 2007
Referenced by the following packages:
        SUNWhea        
Current status: installed

# cat /.alt.c1d0s3/etc/release 
                  Solaris Express Community Edition snv_75a X86
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 11 October 2007
# 

But I don't see it on solaris 10u5, of course I have SUNhea
installed in solaris 10u5.  I did do:

pkgrm -Y JDS

Who needs gnome when we can build KDE :-).

Thanks, Mark

-- 

Reply via email to