Re: [Amcl-users] hi all, need some help
Status: Beta
Brought to you by:
lobbin
|
From: Robin E. <lo...@lo...> - 2002-04-18 19:27:14
|
Mattias Holmstroem wrote:
> ok, this is how my make looks like now
>
> make -s
> Making all in doc
> Making all in C
> Making all in intl
> Making all in po
> Making all in src
> In file included from data.c:24:
> regex.h:314: parse error before `_ANSI_ARGS_'
> regex.h:323: parse error before `_ANSI_ARGS_'
> regex.h:325: parse error before `_ANSI_ARGS_'
> regex.h:326: parse error before `_ANSI_ARGS_'
> data.c: In function `match_line':
> data.c:158: warning: implicit declaration of function `TclReFree'
> make[2]: *** [data.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Exit 2
>
> I found regcomp and regexec in regex but they where commented out of
> the code, as you see they are uncommented now.
> I have also been able to fix that re_void thing, just a matter of
> large and small text. 3 warnings fixed...
> the TclReFree I cant not find anywhere else butone place only, in regex.h
> That line looks like this
>
> #define regfree TclReFree
>
> I didnt find it in /usr/include or /usr/include/sys nor in the src dir for
> gnome-mud so what is it?
>
I did a search on google on TclReFree, and it seems that you are getting
the wrong regex.h, which seems to be from tcl?
You might try to link with tcl (-ltcl), or, install GNU regex as someone
else stated before, and try to compile with the right library.
regards
--
Robin Ericsson <lobbin at localhost dot nu>
"The secret of flying is to throw yourself at the ground, and miss."
-- Douglas Adams
|