Building cdrkit on Solaris 8 generates a linker problem

I'm trying to build cdrkit-1.1.9 but have the same problem with 1.1.6 as well. The reason I need cdrkit is that it has an extended Joilet that mkisofs doesn't have but if anyone has another program that can provide this that might be a work around I can use.

The problem I'm having is when I build cdrkit I get this output

make -C build  all
make[1]: Entering directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[2]: Entering directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[3]: Entering directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
Linking C static library libunls.a
Error running link command: No such file or directory
make[3]: *** [libunls/libunls.a] Error 2
make[3]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[2]: *** [libunls/CMakeFiles/unls.dir/all] Error 2
make[2]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make: *** [all] Error 2

I built the same download in cygwin without a problem and I get past this when I built on a Solaris 10 machine (though I do run into a different error).

OS: SunOS 5.8, sparc
GCC: 3.4.6
CMake: 2.4.8
Gmake: 3.81

Solved it for myself. The problem was that the linker wasn't in the path but now I get a new problem.

[ 68%] Building C object genisoimage/CMakeFiles/genisoimage.dir/boot-hppa.o
[ 69%] Building C object genisoimage/CMakeFiles/genisoimage.dir/boot-mips.o
[ 69%] Building C object genisoimage/CMakeFiles/genisoimage.dir/md5.o
[ 70%] Building C object genisoimage/CMakeFiles/genisoimage.dir/jte.o
/opt/XRXcps/users/xcps/cdrkit-1.1.9/genisoimage/jte.c: In function `flush_bz2_chunk':
/opt/XRXcps/users/xcps/cdrkit-1.1.9/genisoimage/jte.c:653: error: structure has no member named `total_out_lo32'
/opt/XRXcps/users/xcps/cdrkit-1.1.9/genisoimage/jte.c:664: error: structure has no member named `total_out_lo32'
make[3]: *** [genisoimage/CMakeFiles/genisoimage.dir/jte.o] Error 1
make[3]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[2]: *** [genisoimage/CMakeFiles/genisoimage.dir/all] Error 2
make[2]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/XRXcps/users/xcps/cdrkit-1.1.9/build'
make: *** [all] Error 2