[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Problems linking with readline on Windows
From: |
Holger |
Subject: |
[Bug-gnubg] Problems linking with readline on Windows |
Date: |
Thu, 19 Dec 2002 23:20:57 +0100 |
Hi all,
I tried to compile with readline under Windows. I have
readline-4.2-20010727 and
#define HAVE_LIBREADLINE 1
#define HAVE_STRING_H 1
in config.h.
Everything compiles well, but I get the following linking errors:
gcc -o gnubg analysis.o bearoffgammon.o copying.o credits.o database.o
dice.o drawboard.o erf.o eval.o export.o external.o getopt.o getopt1.o
gnubg.o gtk-multiview.o gtkboard.o gtkcube.o gtkchequer.o gtkexport.o
gtkgame.o gtkprefs.o gtktheory.o guile.o html.o i18n.o import.o kleinman.o
latex.o matchequity.o matchid.o play.o positionid.o postscript.o pub_eval.o
record.o render.o rollout.o set.o sgf.o sgfl.o sgfp.o show.o sound.o text.o
osr.o bearoff.o gtkrace.o onechequer.o path.o gtkmovefilter.o luxi.o
-mwindows -L./lib -levent -lxml2 -lintl.dll -lgdbm.dll -lglib-2.0.dll
-lgdk.dll -lgtk.dll -liconv -lwinmm -lm -lfreetype -lpng -lz -lreadline
gnubg.o(.text+0xcdd8):gnubg.c: undefined reference to `rl_line_buffer'
gnubg.o(.text+0xce19):gnubg.c: undefined reference to
`rl_filename_completion_desired'
gnubg.o(.text+0xd09b):gnubg.c: undefined reference to `rl_end'
gnubg.o(.text+0xe994):gnubg.c: undefined reference to `rl_readline_name'
gnubg.o(.text+0xe9a2):gnubg.c: undefined reference to
`rl_filename_quote_characters'
gnubg.o(.text+0xe9a7):gnubg.c: undefined reference to
`rl_basic_word_break_characters'
gnubg.o(.text+0xe9ad):gnubg.c: undefined reference to
`rl_completer_quote_characters'
gnubg.o(.text+0xe9b7):gnubg.c: undefined reference to
`rl_completion_entry_function'
gnubg.o(.text+0xe9c1):gnubg.c: undefined reference to
`rl_attempted_completion_function'
make: *** [gnubg] Error 1
A grep for these exported variables and function in libreadline.a,
libreadline.dll and readline.h shows that they appear there.
Could someone please tell me what's wrong or missing?
TIA and regards,
Holger
- [Bug-gnubg] Problems linking with readline on Windows,
Holger <=