[Ace-users] [ace-users] problem about cannot obtain signal handler problem
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Thu Nov 15 22:14:10 CST 2007
>And I think that I've found the solution.
>Change line 51 and 52 of main.cpp in examples/Service_Configurator/
> args.add (ACE_TEXT ("-f svc.conf1"));
> args.add (ACE_TEXT ("-f svc.conf2"));
>Two blanks are added between -f and the file name.
>And now the sample works fine for me.:)
Great, I've made this fix, thanks!!
>kun niu =8E=CA=93=B9=81F
>> Thank you for your reply.
>> But I think that I found the cause of the problem.
>> It seems that -f option fails to work on my system.
>> My system is Debian lenny.
>> Here's my gcc version:
>> gcc version 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
>> Available from Debian lenny test.
>> My ace version is 5.6.0 and I'm running Service_Configurator sample
>> bundled with it.
>> I think the root cause of the problem is the following function:
>> int ACE_Get_Opt::operator()(void)
>> When it meets '-fsvn.conf1', it treats the option as a signal handler
>> option and leads to an error result.
>> It's a quarter past 2 by my time.
>> I'll try to fix the problem some time if I can.
>> Or someone here can help me.:)
>> Really appreciate your help and your great job.
>> Douglas C. Schmidt =1B$B<LF;!'=1B(B
>> > Hi,
>> > >Dear all,
>> > >I'm using ubuntu 6.06.
>> > >And I'm trying to install ace 5.6 on my system.
>> > >When I run the example program Service_Configurator/Misc
>> > >I always get the following error and the service fails to start:
>> > >cannot obtain signal handler
>> > >However, I can get open successs output.
>> > >
>> > >Anyone here can help me?
>> > I recommend you step through your debugger to see what is going on!
>> > Thanks,
>> > Doug
>> > --
>> > Dr. Douglas C. Schmidt Professor and Associate Cha=
>> > Electrical Engineering and Computer Science TEL: (615) 343-8197
>> > Vanderbilt University WEB: www.dre.vanderbilt.edu=
>> > Nashville, TN 37203 NET: d.schmidt at vanderbilt.e=
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users