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

xmysqladmin- make can not find xforms.h



Environment:
            OS: RedHat Linux 6.2
            xforms version:  0.88-2        file:bxform-089-glibc2.1.tgz
            xmysqladmin version: 1.0
file:xmysqladmin_1.0.orig.tar.gz

Process:
            download files mentioned above.
            Untar files.
            install xforms
                        make
                        as root make install
                        add path to LD_LIBRARY_PATH
            attempt to make xmysqladmin:
                          edit Makefile:
                                        Compilation Details:
-DMYSQL_VERSION = 3.2.2.32
                                        mysql database dir:  MYSQLDBDIR
= -DMYSQLDBDIR="\"/var/lib/mysql/\""
                                        xforms include dir (xforms.h):
XFORMINCDIR = -I/home/ponch/xforms/FORMS
                           typed "make":
                            output :
gcc -o xmysqladmin xmysqladmin.o main_callback.o status.o version.o
threads.o reload.o configure.o isamck.o grant.o inputhost.o inputdb.o
inputuser.o createDropDB.o utils.o createTable.o connect.o droptable.o
ccomkey.o alterTable.o browseTable.o browseTable.o
-I/usr/local/include/mysql -I/home/ponch/xforms/FORMS \
 -Wl,-R/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient \
-L/usr/X11R6/lib -lX11 /usr/X11R6/lib/libXpm.so.4 -L/usr/lib -lforms -lm

xmysqladmin.o: In function 'create_form_main':
/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:10: undefined reference
to 'fl_calloc'
xmysqladmin.o: In function 'create_form_status':
/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:96: undefined reference
to 'fl_calloc'
xmysqladmin.o: In function 'create_form_version':
/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:127: undefined reference
to 'fl_calloc'
xmysqladmin.o: In function 'create_form_threads':
/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:157: undefined reference
to 'fl_calloc'
xmysqladmin.o: In function 'create_form_reload':
/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:206: undefined reference
to 'fl_calloc'
xmysqladmin.o:/home/ponch/xmysqladmin-1.0.orig/xmysqladmin.c:238: more
undefined references to 'fl_calloc' follow
/usr/X11R6/lib/libforms.a(listdir.o): In function 'fselect':
listdir.o(.text+0x13d): undefined reference to '_xstat'
/usr/X11R6/lib/libforms.a(listdir.o): In function 'fl_is_valid_dir':
listdir.o(.text+0x8d5): undefined reference to '_xstat'
/usr/X11R6/lib/libforms.a(listdir.o): In function 'fl_fmtime':
listdir.o(.text+0xb9e): undefined reference to '_xstat'
collect2: ld returned 1 exit status
make: *** [xmysqladmin] Error 1


side note:
in the "/home/ponch/xforms/FORMS/" where I set the xmysqladmin Makefile
to look for "xforms.h". This directory does not have a "xforms.h" file
nor does any other directory on my system. The two files that look
anything like xforms.h are forms.h and xforms.5.  I tried making copies
of each (xforms.5 and forms.h) separately and renaming them "xforms.h"
leaving the original files in place and running make but the same error
persists.

I have also done searches for an rpm but could not find one. If you know

what the problem is, other than my ignorance, please let me know.
Thank you for your help and for being a part of such a wonderful
product,

Rafael





Reply to: