[Snowball-discuss] compiling stemmers with gcc
Martin Porter
martin_porter@softhome.net
Thu Jan 23 15:34:01 2003
Your program compiles quite happily with
gcc -o PROG *.c
where the current directory contains
eng_out.c api.c utilities.c and some_driver.c
as well as the headers
eng_out.h api.h header.h
Your compile step cannot find a definition of the struct SN_env, as if
api.h has got messed up somehow.
Martin
At 09:53 23/01/2003 +0100, =?ISO-8859-2?Q?Bo=B9tjan?= Jerko wrote:
>Hello Martin,
>
>Thank you for your prompt answer.
>I am attaching source code of generated program (eng_out.c and eng_out.c )
and input file (english.txt I know it is published,
>but maybe here lies an answer - so just to be on the safe side).
>
>Here is also partial list of errors I get (as you can see it is the same
error all over the program).
>
>eng_out.c:587: dereferencing pointer to incomplete type
>eng_out.c:590: dereferencing pointer to incomplete type
>eng_out.c:590: dereferencing pointer to incomplete type
>eng_out.c:592: dereferencing pointer to incomplete type
>eng_out.c:592: dereferencing pointer to incomplete type
>eng_out.c:593: dereferencing pointer to incomplete type
>eng_out.c:594: dereferencing pointer to incomplete type
>eng_out.c:596: dereferencing pointer to incomplete type
>eng_out.c:598: dereferencing pointer to incomplete type
>eng_out.c:599: dereferencing pointer to incomplete type
>eng_out.c:599: dereferencing pointer to incomplete type
>eng_out.c:601: dereferencing pointer to incomplete type
>eng_out.c:601: dereferencing pointer to incomplete type
>eng_out.c:602: dereferencing pointer to incomplete type
>eng_out.c:605: dereferencing pointer to incomplete type
>eng_out.c:606: dereferencing pointer to incomplete type
>eng_out.c:606: dereferencing pointer to incomplete type
>eng_out.c:607: dereferencing pointer to incomplete type
>eng_out.c:612: dereferencing pointer to incomplete type
>eng_out.c:616: dereferencing pointer to incomplete type
>
>
>B.
>