[reSIProcate] gperf compile problem
maodong hu
hhmmdd at tom.com
Thu Jun 28 20:53:02 CDT 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070629/0dee064c/attachment.htm>
More information about the resiprocate-devel
mailing list