cciss_vol_status: cross-compiling on amd64 for i386 fails

Frank Wall fwall at
Wed Dec 14 13:55:39 UTC 2011


I'm currently trying to compile sysutils/cciss_vol_status on my
amd64 build server. Later I want to deploy it on my i386 servers. 
Unfortunately my attempt was not successfull... 

===>  Building for cciss_vol_status-1.09
make  all-am
cc -DHAVE_CONFIG_H -I.      -pipe -MT cciss_vol_status.o -MD -MP -MF .deps/cciss_vol_status.Tpo -c -o cciss_vol_status.o cciss_vol_status.c
cciss_vol_status.c:141:2: warning: #warning Since <scsi/sg.h> is not around, MSA1000 support will not be compiled.
mv -f .deps/cciss_vol_status.Tpo .deps/cciss_vol_status.Po
cc  -pipe   -o cciss_vol_status cciss_vol_status.o  
cciss_vol_status.o(.text+0x2d82): In function `msa1000_status':
: undefined reference to `msa1000_passthru_ioctl'
cciss_vol_status.o(.text+0x2e14): In function `msa1000_status':
: undefined reference to `msa1000_logical_drive_status'
cciss_vol_status.o(.text+0x3164): In function `cciss_logical_drive_status':
: undefined reference to `find_scsi_device_node'
*** Error code 1

Stop in /work/a/ports/sysutils/cciss_vol_status/work/cciss_vol_status-1.09.
*** Error code 1

Stop in /work/a/ports/sysutils/cciss_vol_status/work/cciss_vol_status-1.09.
*** Error code 1

The build is running inside tinderbox and I've set these env variables:

export ARCH=i386
export MACHINE_ARCH=i386
export UNAME_m=i386
export UNAME_p=i386

Any idea?

- Frank

More information about the freebsd-ports mailing list