<HEAD><STYLE> P { margin-top: 0px; margin-bottom: 6px; font-family: ±¼¸²; font-size: 12px; } BODY { font-family: ±¼¸²; font-size: 12px; } </STYLE></HEAD>I fixed my config.sunos but I got some problem...
<BR>First It failed to compile though compiler wanted *.cc but the name was *.cpp.
<BR>so I change all the filename *.cc ¤Ñ ¤Ñ ;
<BR>Second It failed to compile in the groupsock/include/NetAddress.hh :39: syntax error before ';' token
<BR>groupsock/include/NetAddress.hh :43: parse error before 'const'
<BR>groupsock/include/NetAddress.hh :51: syntax error before 'const'
<BR>..............................
<BR>
<BR>In these message I think compiler don't know c++ class...
<BR>But other folder's .hh file are accepted (( when I skipped GroupsockHelper.hh it compiled some files which not using /gropusock/include/*.hh files )).
<BR>It is hard to me....
<BR>
<BR>-------------------------------------------------------------------------------------
<BR>
<BR>It made syntax error just in the groupsock/include/*.hh
<BR>I thought I must add path in config.sunos.
<BR>So I added -I./groupsock/include -I../groupsock/include
<BR>but it doesn't work in /groupsock/include/*.hh
<BR>Syntax error, parse error....
<BR>How can I fix these problems...
<BR>Please hint me....
<BR>
<BR>------------------------------------------------------
<BR>This is my compile error--------------------------
<BR>
<BR>cd liveMedia ; make
<BR>g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -I./groupsock/include -I../groupsock/include -DBSD=1 -O -Wall ByteStreamFileSource.cc
<BR>In file included from ../groupsock/include/GroupsockHelper.hh:25,
<BR>from ByteStreamFileSource.cc:28:
<BR>../groupsock/include/NetAddress.hh:39: syntax error before `;' token
<BR>../groupsock/include/NetAddress.hh:43: parse error before `const'
<BR>../groupsock/include/NetAddress.hh:51: syntax error before `const'
<BR>../groupsock/include/NetAddress.hh:54: semicolon missing after declaration of `
<BR>NetAddress'
<BR>../groupsock/include/NetAddress.hh:54: parse error before `private'
<BR>../groupsock/include/NetAddress.hh: In member function `unsigned int
<BR>NetAddress::length() const':
<BR>../groupsock/include/NetAddress.hh:50: `fLength' undeclared (first use this
<BR>function)
<BR>../groupsock/include/NetAddress.hh:50: (Each undeclared identifier is reported
<BR>only once for each function it appears in.)
<BR>../groupsock/include/NetAddress.hh: At global scope:
<BR>../groupsock/include/NetAddress.hh:54: parse error before `:' token
<BR>../groupsock/include/NetAddress.hh:58: `unsigned int fLength' used prior to
<BR>declaration
<BR>../groupsock/include/NetAddress.hh:59: syntax error before `*' token
<BR>../groupsock/include/NetAddress.hh:84: invalid use of undefined type `class
<BR>NetAddressList'
<BR>../groupsock/include/NetAddress.hh:62: forward declaration of `class
<BR>NetAddressList'
<BR>../groupsock/include/NetAddress.hh:84: parse error before `,' token
<BR>../groupsock/include/NetAddress.hh:92: syntax error before `;' token
<BR>../groupsock/include/NetAddress.hh:96: parse error before `num'
<BR>../groupsock/include/NetAddress.hh:98: parse error before `)' token
<BR>../groupsock/include/NetAddress.hh:101: semicolon missing after declaration of
<BR>`Port'
<BR>../groupsock/include/NetAddress.hh:117: `netAddressBits' was not declared in
<BR>this scope
<BR>../groupsock/include/NetAddress.hh:117: parse error before `,' token
<BR>../groupsock/include/NetAddress.hh:120: `netAddressBits' was not declared in
<BR>../groupsock/include/NetAddress.hh:120: parse error before `,' token
<BR>../groupsock/include/NetAddress.hh:122: `netAddressBits' was not declared in
<BR>this scope
<BR>../groupsock/include/NetAddress.hh:122: parse error before `,' token
<BR>../groupsock/include/NetAddress.hh:144: `netAddressBits' was not declared in
<BR>this scope
<BR>../groupsock/include/NetAddress.hh:144: parse error before `)' token
<BR>In file included from ByteStreamFileSource.cc:28:
<BR>../groupsock/include/GroupsockHelper.hh:47: type specifier omitted for
<BR>parameter `u_int8_t'
<BR>../groupsock/include/GroupsockHelper.hh:47: parse error before `,' token
<BR>../groupsock/include/GroupsockHelper.hh:62: type specifier omitted for
<BR>parameter `netAddressBits'
<BR>../groupsock/include/GroupsockHelper.hh:62: parse error before `)' token
<BR>../groupsock/include/GroupsockHelper.hh:64: type specifier omitted for
<BR>parameter `netAddressBits'
<BR>../groupsock/include/GroupsockHelper.hh:64: parse error before `)' token
<BR>../groupsock/include/GroupsockHelper.hh:68: type specifier omitted for
<BR>parameter `netAddressBits'
<BR>../groupsock/include/GroupsockHelper.hh:68: parse error before `,' token
<BR>../groupsock/include/GroupsockHelper.hh:71: type specifier omitted for
<BR>parameter `netAddressBits'
<BR>../groupsock/include/GroupsockHelper.hh:71: parse error before `,' token
<BR>../groupsock/include/GroupsockHelper.hh:76: parse error before `&' token
<BR>../groupsock/include/GroupsockHelper.hh:80: syntax error before `;' token
<BR>../groupsock/include/GroupsockHelper.hh:81: syntax error before `;' token
<BR>../groupsock/include/GroupsockHelper.hh:84: parse error before `&' token
<BR>../groupsock/include/GroupsockHelper.hh:95: parse error before `const'
<BR>*** Error code 1
<BR>make: Fatal error: Command failed for target `ByteStreamFileSource.o'
<BR>Current working directory /home1/2002/1998/being/public_html/rtsp_server/live.bak/liveMedia
<BR>*** Error code 1
<BR>make: Fatal error: Command failed for target `liveMedia/libliveMedia.a'
<BR>
<BR>
<BR>
<BR>----------------------------------------------------------------------------
<BR>As SunOs used gcc, g++ I changed C_COMPILER, CPLUSPULS_COMPILER.
<BR>
<BR>---------------------------------------------------------
<BR>COMPILE_OPTS = $(INCLUDES) -I. -DBSD=1 -O
<BR>C = c
<BR>C_COMPILER = gcc
<BR>C_FLAGS = $(COMPILE_OPTS)
<BR>CPP = cc
<BR>CPLUSPLUS_COMPILER = g++
<BR>CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall
<BR>OBJ = o
<BR>LINK = g++ -o
<BR>LINK_OPTS = -L.
<BR>CONSOLE_LINK_OPTS = $(LINK_OPTS)
<BR>LIBRARY_LINK = ld -o
<BR>LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic
<BR>LIB_SUFFIX = a
<BR>LIBS_FOR_CONSOLE_APPLICATION =
<BR>LIBS_FOR_GUI_APPLICATION =
<BR>EXE =
<BR>~
<BR>
<BR>I am beginner in SunOs. How I can complete my compile....
<BR>Thank you very much, my friends...
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img SRC=http://i.dreamwiz.com/img/logo.gif WIDTH=108 HEIGHT=21 BORDER=0></a><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;">»ýÈ°ÀÎÅÍ³Ý µå¸²À§Áî http://www.dreamwiz.com/</span><br><img src="http://i.dreamwiz.com/img/n.gif" width=1 height=15 border="0"><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><img src="http://i.dreamwiz.com/img/wd/mail2123.gif" align="absmiddle" border="0" >
<a href="http://ebiz.dreamwiz.com/BIN/pl.cgi?page=mailcontent&save=100&http://www.dreamwiz.com/ev/mail/unlimit.htm"><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;"><font color="red">[¹«ÇѸÞÀÏ]</font> 228Mµµ ºÎÁ·ÇÏ¸é ¹«ÇÑÀ¸·Î ½õ´Ï´Ù.</a>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><img src="http://i.dreamwiz.com/img/wd/disk2123.gif" width=28 height=25 align="absmiddle" border="0" >
<a href="http://www.dreamwiz.com/dm/disk/dm_disk.htm"><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;"><font color="red">[µð½ºÅ©]</font> 128M °øÂ¥ µð½ºÅ© °¡Áö·¯ °¡ÀÚ!</font></a>
<IMG SRC="http://mailchk.dreamwiz.com/cgi-bin/receive_check.cgi?sender=lmo98@dreamwiz.com&msgid=%3C20041024064908.000031E401B902B4@mail30.dreamwiz.com%3E&receiver=live-devel@lists.live.com&key=35a7b9fff7aefe2f0e23a132ff647f54" WIDTH="1" HEIGHT="1" BORDER="0">