This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

regerror link error


The following patch :

2000-03-22  Daniel Berlin  <dan@cgsoftware.com>
        * command.c (apropos_cmd_helper): New function, meat of the
        apropos command.
        (apropos_command): New apropos command to search command
        names/documentation for regular expressions.
        (_initialize_command): Add the apropos command.

makes the compilation of gdb fail on my system (m68k-motorola-sysv) :

gcc -g -O2 -W -Wall        -o gdb main.o libgdb.a    ../bfd/libbfd.a ../readline
/libreadline.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libibert
y.a -lncurses     -lm  ../libiberty/libiberty.a
libgdb.a(command.o): In function `apropos_command':
command.c:481: undefined reference to `regerror'
collect2: ld returned 1 exit status

Actually, I have found a __regerror, but no regerror.  How can we fix that ?

Philippe

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]