Date: Tue, 27 Jul 1999 20:08:39 +0530 From: "Geeta Mahesh" <ugtech@bom3.vsnl.net.in> To: <questions@freebsd.org> Subject: urgent ... Message-ID: <000a01bed83d$b8ced540$030136ca@ugtech.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01BED86B.D12907E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have an application that uses semaphores for thread synchronization.=20 I am using g++ 2.7.2.1 on FreeBSD 3.2. The application cannot resolve the semaphore functions sem_init, = sem_destroy ... which are POSIX complient.=20 Can you tell me if which library I need to link my application with.=20 Also, I am using namespaces in my application - which is not supported = by g++2.7.2.1 What should I do to make my g++ support namespaces. Is there any = workaround for this?=20 Please let me know. Thanks . Regards Geeta. ------=_NextPart_000_0007_01BED86B.D12907E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Hi,</FONT></DIV> <DIV><FONT size=3D2>I have an application that uses semaphores for = thread=20 synchronization. </FONT></DIV> <DIV><FONT size=3D2>I am using g++ 2.7.2.1 on FreeBSD 3.2.</FONT></DIV> <DIV><FONT size=3D2> <DIV><FONT size=3D2>The application cannot resolve the semaphore=20 functions sem_init, sem_destroy ... which are POSIX complient.=20 </FONT></DIV> <DIV>Can you tell me if which library I need to link my application = with. </DIV> <DIV> </DIV> <DIV>Also, I am using namespaces in my application - which is not = supported by=20 g++2.7.2.1</DIV> <DIV>What should I do to make my g++ support namespaces. Is there any = workaround=20 for this? </DIV> <DIV> </DIV> <DIV>Please let me know.</DIV> <DIV> </DIV> <DIV>Thanks .</DIV> <DIV> </DIV> <DIV>Regards</DIV> <DIV>Geeta.</DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_0007_01BED86B.D12907E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01bed83d$b8ced540$030136ca>