On Jan 2, 2008 6:46 PM, Lukas Oboril <oboril.lukas at gmail.com> wrote: > Stefan, > > are you sure with this ... > > when I tried build libraw1394 this has happened > > > /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -Xc -errshort=full > -errfmt=error -errwarn=%none -xO3 -s -xjobs=2 -xregs=no%frameptr > -dalign -xprefetch=auto -xprefetch_auto_type=indirect_array_access > -xprefetch_level=3 -xbuiltin=%all -xcsi -xinline=%auto > -xustr=ascii_utf16_ushort -z combreloc -z redlocsym -z nodefaultlib -z > now -z rescan -z absexec -xipo=0 -xldscope=symbolic -xrestrict=%all > -xF=%none -xalias_level=std -xsafe=mem -xthreadvar=%all -lc -lpthread > -lposix4 -lrt -mt -D_REENTRANT -D__EXTENSIONS__=1 -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_XPG6 > -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=200112L > -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 > -D_UNICODE -DUNICODE -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -KPIC > -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 > -xcache=8/64/4:256/128/8 -xO3 -s -c main.c -KPIC -DPIC -o > .libs/main.o > > ************************************************************************************************** > "raw1394_private.h", line 14: error: cannot find include file: > <sys/av/iec61883.h> > "raw1394_private.h", line 62: error: syntax error before or at: > iec61883_recv_t > ***************************************************************************************************
> I see in file raw1394_private.h > > #if defined(SOLARIS) > #include <sys/av/iec61883.h> > > > How can I compile libiec61883 (and put in life sys/av/iec61883.h) when > it has build dependency to libraw1394 and libraw doesn't compile > without that header ? > > > At the end, why we need libraw1394, libavc1394 and libiec61833 when we > have in Solaris > > pkginfo |grep 1394 > system SUNW1394 Sun IEEE1394 Framework > system SUNW1394h Sun IEEE1394 Framework Header > Files > system SUNWav1394 IEEE1394 AV Driver > system SUNWfwdc IEEE1394 Video > Conferencing Class Driver > system SUNWfwdcu Sun IEEE1394 Video > Conferencing Support (Usr) > system SUNWscsa1394 IEEE 1394 mass storage driver It looks like the sys/av header files haven't made it to S10U4, but they are present in ONNV: [steleman at redneck][/export-1/steleman/programming/on/20071001/on/root/usr/src/uts/common/sys/av][01/02/2008 21:34:52][750]>> pwd /export-1/steleman/programming/on/20071001/on/root/usr/src/uts/common/sys/av [steleman at redneck][/export-1/steleman/programming/on/20071001/on/root/usr/src/uts/common/sys/av][01/02/2008 21:34:54][751]>> ls -la total 42 drwxr-xr-x 2 steleman users 512 2007-10-02 10:14 . drwxr-xr-x 28 steleman users 12288 2007-10-02 10:14 .. -r--r--r-- 1 steleman users 7741 2007-10-02 10:14 iec61883.h [steleman at redneck][/export-1/steleman/programming/on/20071001/on/root/usr/src/uts/common/sys/av][01/02/2008 21:35:30][752]>> This is all from the ONNV source code drop from 10/01/2007. So, the trick is to install the IEEE1394 header files under /usr/include/sys/av and friends (since we only need the structs). Why we need these libraries: because all of the Linux software which uses FireWire in one way or another wants to talk to one of these libraries, and this software has no clue about Solaris specific FireWire ioctl's (which are very different than Linux or *BSD FireWire ioctl's). The whole idea is similar to using libusb instead of using specific USB ioctl's. --Stefan -- Stefan Teleman KDE e.V. stefan.teleman at gmail.com
