[reSIProcate] gperf compile problem

maodong hu hhmmdd at tom.com
Thu Jun 28 23:22:49 CDT 2007


gperf: version 2.8 (ACE version)

2007/6/29, Ryan Kereliuk <ryker at ryker.org>:
>
> What is the output of 'gperf --version' on your machine?
>
> Thanks,
> -Ryan
>
> On 2007-06-29 at 09h53, maodong hu wrote:
> > hi, all
> >
> > Many times I compile resip on linux has problem, compilation seems have
> no
> > error, but when I run my program, it report undefined reference
> > xxxx:in_words_set
> > it means some cxx file not generate correctly, I checked the gperf file,
> it
> > seems
> > GPERFOPTS = -D --enum -E -L C++ -t -k '*' --compare-strncmp
> >
> > should be
> >
> > GPERFOPTS = -D -E -L C++ -t -k '*' --compare-strncmp
> >
> > according gperf help, -E is same as --enum , I test as following:
> >
> >
> > root at FoolCentOS42 ~]# cd /software/resip/resip/stack/
> > [root at FoolCentOS42 stack]# gperf -D -E -c -E -L C++ -t -k '*' -Z
> MethodHash
> > -e 's.*' MethodHash.gperf > MethodHash.cxx            // ok
> > [root at FoolCentOS42 stack]# gperf -D --enum -c -E -L C++ -t -k '*' -Z
> > MethodHash -e 's.*' MethodHash.gperf > MethodHash.cxx     // error
> > Usage: gperf
> >
> [-abBcCdDef[num]gGhH<hashname>i<init>IjJk<keys>K<keyname>lL<language>mMnN<function
> > name>oOprs<size>S<switches>tTvVZ<class name>].
> > (type gperf -h for help)
> > [root at FoolCentOS42 stack]# gperf -D --enum -c -L C++ -t -k '*' -Z
> MethodHash
> > -e 's.*' MethodHash.gperf > MethodHash.cxx         // error
> > Usage: gperf
> >
> [-abBcCdDef[num]gGhH<hashname>i<init>IjJk<keys>K<keyname>lL<language>mMnN<function
> > name>oOprs<size>S<switches>tTvVZ<class name>].
> > (type gperf -h for help)
> >
> >
> > so it seems --enum never works
> >
> > --
> > Best Regards
> >
> > Maodong Hu
>
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel at list.resiprocate.org
> > https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
>


-- 
Best Regards

Maodong Hu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070629/1a90ed6a/attachment.htm>


More information about the resiprocate-devel mailing list