Re: [reSIProcate] gperf compile problem
- From: "maodong hu" <hhmmdd@xxxxxxx>
- Date: Fri, 29 Jun 2007 12:22:49 +0800
gperf: version 2.8 (ACE version)
2007/6/29, Ryan Kereliuk <ryker@xxxxxxxxx>:
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@FoolCentOS42 ~]# cd /software/resip/resip/stack/
> [root@FoolCentOS42 stack]# gperf -D -E -c -E -L C++ -t -k '*' -Z MethodHash
> -e 's.*' MethodHash.gperf > MethodHash.cxx
// ok
> [root@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@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@xxxxxxxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
--
Best Regards
Maodong Hu