|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Hi, I got hold of the sources via CVS early May (6th May) and have been on & off at porting the DSS to IRIX. Well, I can report that I have it more or less "working"... I initially used egcs to compile it as gcc fails (2.95.3, 3.0.1, 3.0.4) with int ernal compiler error. gcc isn't exactly well supported on MIPS, certainly when C++ code is in question... egcs compile worked but I found that performance was extremely poor. Moved over to MipsPro (i.e. SGI's compiler) and compilation worked althouh I found a few issues: 1. Compiler switches in Makefiles are all gcc/egcs specific 2. Makefiles use -include pre-processor option (again gcc/egcs specific) - had to get around this by putting all the defs from PlatformHeader.h onto compilation line (in Buildit script) - there must be a better way to do defines... 3. I got a huge number of warnings that various values were implicitly cast from larger to smaller type (didn't see a lot of these warnings with egcs, but MipsP ro is a lot more pedantic - this means though that the code is not as portable as it should be, unless GNU compilers are used) In any case, porting wasn't too bad so far, if time consuming. I mainly looked for areas with #define for solaris/linux/MacOSX and looked whether I needed to add anything (code or another #define) Found a couple of places that mentioned sgi, and I saw in early archives that so mebody has had a go in the past, but nothing since. In any case, also fixed one of these sections as it referred to now obsolete ver sion of IRIX (6.4) Also had to add a small amount of code for working out the number of CPUs... I now have an IRIX install of the DSS which, while working, is not completely stable. Streaming of individual files works, but starting the playlist doesn't (server e rror). Actually the playlist does start (even if the admin GUI says that it hasn't), but streaming from the server causes it to crash... I've included gdb output at the end of this message. Basically memory is getting trashed somewhere... I'll be looking to debug this further, but as I am not that proficient at C++ (C is my strength), it might take a while. What I would like to know, is what would be the procedure to include my changes in the CVS, and will they be accepted. Apart from the code I can put in IRIX Makefiles for MipsPro compilers... This would make my life easier so that I can keep getting new code from CVS and not worry about having to keep updating various files. Nik. --------------------------------------------------- The core file shows the following: This GDB was configured as "mips-sgi-irix6.5"... Core was generated by `DarwinStreamingServer'. Program terminated with signal 10, Bus error. Reading symbols from /usr/lib32/libdl.so...done. Reading symbols from /usr/lib32/libm.so...done. Reading symbols from /usr/lib32/libcrypt.so...done. Reading symbols from /usr/lib32/libpthread.so...done. Reading symbols from /usr/lib32/libCsup.so...done. Reading symbols from /usr/lib32/libC.so.2...done. Reading symbols from /usr/lib32/libc.so.1...done. #0 0x10083ec8 in LogRequest__GPvT1PUl(inClientSession=0x0, inRTSPSession=0x0, inCloseReasonPtr=0x0) at QTSSAccessLogModule.cpp:487 487 clientBytesRecv = (UInt32)((*rtcpBytesRecv * (100.0 - *packetLossPer cent))/100.0); (gdb) p clientBytesRecv No symbol "clientBytesRecv" in current context. (gdb) p rtcpBytesRecv $1 = (UInt32 *) 0x10243f3c (gdb) p *rtcpBytesRecv $2 = 0 (gdb) p *packetLossPercent $3 = 0 Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com _______________________________________________ streaming-server-developers mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers Do not post admin requests to the list. They will be ignored.
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.