Hello All,
I'm trying to compile CVS version of DSS (Darwin Streaming Server), but keep getting these errors:
Code:
PlaylistBroadcaster.cpp: In function `void RegisterEventHandlers()':
PlaylistBroadcaster.cpp:2097: error: expected `)' before "_SPOINTERSIZEARG_"
PlaylistBroadcaster.cpp:2104: error: expected `)' before "_SPOINTERSIZEARG_"
PlaylistBroadcaster.cpp:2112: error: expected `)' before "_SPOINTERSIZEARG_"
PlaylistBroadcaster.cpp:2120: error: expected `)' before "_SPOINTERSIZEARG_"
This is how PlaylistBroadcaster.cpp looks like at these lines:
Code:
2094 if ( ::signal(SIGTERM, SIG_IGN) != SIG_IGN)
2095 { // from kill...
2096 if ( ::sigaction(SIGTERM, &act, NULL) != 0 )
2097 { qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
2098 }
2099 }
2100
2101 if ( ::signal(SIGINT, SIG_IGN) != SIG_IGN)
2102 { // ^C signal
2103 if ( ::sigaction(SIGINT, &act, NULL) != 0 )
2104 { qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
2105 }
2106
2107 }
2108
2109 if ( ::signal(SIGPIPE, SIG_IGN) != SIG_IGN)
2110 { // broken pipe probably from a failed RTSP session (the server went down?)
2111 if ( ::sigaction(SIGPIPE, &act, NULL) != 0 )
2112 { qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
2113 }
2114
2115 }
2116
2117 if ( ::signal(SIGHUP, SIG_IGN) != SIG_IGN)
2118 { // broken pipe probably from a failed RTSP session (the server went down?)
2119 if ( ::sigaction(SIGHUP, &act, NULL) != 0)
2120 { qtss_printf( "- PlaylistBroadcaster: System error (%"_SPOINTERSIZEARG_").\n", (PointerSizedInt)SIG_ERR );
2121 }
Could you please tell me what's wrong with the syntax, and how to fix it?