Re: Problem compiling libIDL 0.8.1



I think that you need both byacc and bison? Also make sure you have flex
installed too.

Try installing those, then run a make 'clean && make install' in
gnome/libIDL.

Bob

On Sat, 2003-05-10 at 16:27, Amit J. wrote:
> Compiling GARNOME fails when at libIDL for me. During
> configure it said install bison instead of yacc,
> however it fails:
> 
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -DLIBIDL_VERSION=\"0.8.1\"
> -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"\"
> "-DCPP_PROGRAM=\"gcc -E\"" -DYYTEXT_POINTER=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
> -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1
> -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1
> -DSIZEOF_LONG_LONG=8 -I. -I. -DYYDEBUG=1
> -DYYERROR_VERBOSE=1 -DIDL_LIBRARY
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -g -O2 -c
> lexer.c  -fPIC -DPIC -o .libs/lexer.lo
> <stdout>:2470: warning: no previous prototype for
> `__IDL_get_lineno'
> <stdout>:2479: warning: no previous prototype for
> `__IDL_get_in'
> <stdout>:2487: warning: no previous prototype for
> `__IDL_get_out'
> <stdout>:2495: warning: no previous prototype for
> `__IDL_get_leng'
> <stdout>:2504: warning: no previous prototype for
> `__IDL_get_text'
> <stdout>:2513: warning: no previous prototype for
> `__IDL_set_lineno'
> <stdout>:2525: warning: no previous prototype for
> `__IDL_set_in'
> <stdout>:2530: warning: no previous prototype for
> `__IDL_set_out'
> <stdout>:2535: warning: no previous prototype for
> `__IDL_get_debug'
> <stdout>:2540: warning: no previous prototype for
> `__IDL_set_debug'
> <stdout>:2546: warning: no previous prototype for
> `__IDL_lex_destroy'
> ./lexer.l: In function `__IDL_lex_cleanup':
> ./lexer.l:394: `YY_NEW_FILE' undeclared (first use in
> this function)
> ./lexer.l:394: (Each undeclared identifier is reported
> only once
> ./lexer.l:394: for each function it appears in.)
> /usr/include/glib-2.0/glib/gutils.h: At top level:
> <stdout>:1976: warning: `__IDL_unput' defined but not
> used
> make: *** [lexer.lo] Error 1
> root Pluto:/opt/garnome-0.24.2/gnome/libIDL/work/main.d/libIDL-0.8.1#
> 
> 
> What could be the problem? This is the third time it
> has failed... 
> 
> =====
> {Amit D J - amit632 yahoo com}
-- 
Bob Kashani




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]