I tried building dict-gcide using maa from the libmaa-dev package. I get this
failure:

    cc -Wall  -DHAVE_CONFIG_H  -I. -g -O  -s -o webfmt webfmt.c scan.o parse.o 
fmt.o -lmaa
    webfmt.c: In function 'main':
    webfmt.c:139:33: warning: implicit declaration of function 'prs_set_debug' 
[-Wimplicit-function-declaration]
        if (dbg_test(DBG_PARSE))     prs_set_debug(1);
                                     ^
    webfmt.c:145:4: warning: implicit declaration of function 'prs_stream' 
[-Wimplicit-function-declaration]
        prs_stream( stdin, "[stdin]" );
        ^
    /tmp/ccwWz7o4.o: In function `main':
    /home/edward/src/dict-gcide/webfmt.c:139: undefined reference to 
`prs_set_debug'
    /home/edward/src/dict-gcide/webfmt.c:145: undefined reference to 
`prs_stream'


When I run "diff -u libmaa/maa.h /usr/include/maa.h", I see:

    @@ -539,16 +580,6 @@ extern void       src_print_line( FILE *stream, 
src_Type source );
     extern src_Stats  src_get_stats( void );
     extern void       src_print_stats( FILE *stream );
     
    -/* parse.c */
    -
    -extern void   prs_set_debug( int debug_flag );
    -extern void   prs_set_cpp_options( const char *cpp_options );
    -extern void   prs_file( const char *filename );
    -extern void   prs_file_nocpp( const char *filename );
    -extern void   prs_stream( FILE *str, const char *name );
    -extern int    prs_make_integer( const char *string, int length );
    -extern double prs_make_double( const char *string, int length );
    -
     /* parse-concrete.c */
     
     extern void   prs_register_concrete( const char *symbol,

The version of libmaa shipped with Debian is newer than the one in dict-gcide.
This newer version doesn't include the various prs_* functions. It can't be
used to build dict-gcide.

-- 
Edward.

Reply via email to