This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygrunsrv build error


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?

Thanks,
BB

Here is the cvs command and make output...

$ cvs -d :pserver:anoncvs at sources dot redhat dot com:/cvs/cygwin-apps co cygrunsrv
...
$ make
g++    -c -o cygrunsrv.o cygrunsrv.cc
g++    -c -o crit.o crit.cc
g++    -c -o utils.o utils.cc
gcc -o cygrunsrv.exe -s cygrunsrv.o crit.o utils.o
cygrunsrv.o(.eh_frame+0x11):cygrunsrv.cc: undefined reference to
`___gxx_personality_v0'
crit.o(.eh_frame+0x11):crit.cc: undefined reference to
`___gxx_personality_v0'
utils.o(.eh_frame+0x11):utils.cc: undefined reference to
`___gxx_personality_v0'

collect2: ld returned 1 exit status
make: *** [cygrunsrv.exe] Error 1


********BUG in utils.cc *********
There is an bug in utils.cc on line 75
    error (reason_t reason, const char *func = NULL, DWORD win_err)
should be
    error (reason_t reason, const char *func, DWORD win_err)




--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]