Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "BB" Subject: Re: cygrunsrv build error Date: Wed, 23 Apr 2003 18:03:42 -0500 Lines: 73 Message-ID: References: <01d301c309e6$3838a3f0$6dee86d9 AT ellixia> Reply-To: "BB" X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 "Martin" wrote in message news:Law10-OE176z46lsEGR00004890 AT hotmail DOT com... > Which makefile is failing? > Martin Who's on first? > > I simply used the Makefile supplied with cygrunsrv. As I stated in my initial post, I downloaded the cygrunsrv code using cvs -d :pserver:anoncvs AT sources DOT redhat DOT com:/cvs/cygwin-apps co cygrunsrv Then I ran make in the cygrunsrv directory which by default uses the Makefile downloaed by the cvs command. I get the error [undefined reference to `___gxx_personality_v0'] When I use cygrunsrv's Makefile, gcc is called for the link step. When I manually run "g++ -o cygrunsrv.exe -s cygrunsrv.o crit.o utils.o" instead of gcc.., it works. I'm assuming that because this is the code in cvs it must be working for others. I'm just trying to get it working for me. BB > ----- Original Message ----- > From: "BB" > To: > Sent: Wednesday, April 23, 2003 3:23 PM > Subject: Re: cygrunsrv build error > > > > "Elfyn McBratney" wrote in message > > news:01d301c309e6$3838a3f0$6dee86d9 AT ellixia... > > > > I'm having trouble building cygrunsrv.exe. > > > > After fixing a problem in utils.cc (see below) > > > > and running make, the link fails. Is the code I > > > > downloaded the latest? What do I need to do > > > > to get it to build? Is there something I need to > > > > configure or download? > > > > > > > > [...] > > > > > > > > g++ -c -o cygrunsrv.o cygrunsrv.cc > > > > g++ -c -o crit.o crit.cc > > > > g++ -c -o utils.o utils.cc > > > > [...] > > > > > > cygrunsrv is a C++ application. You will need to need to use g++ to > > compile > > > and link it, not gcc. > > > > > > Elfyn > > > > > I simply used the Makefile supplied with cygrunsrv. Assuming > > that Makefile has worked for others, what do I need to modify > > to make it work for me? > > > > BB > > > > > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Problem reports: http://cygwin.com/problems.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/