# To subscribers of the xforms list from David Scriven <davidwriter@yahoo.com> :
I've just tried to compile XForms under Red Hat 9
It crashed with the following:
gcc -m32 -o fdesign -g -O3
-L/usr/X11R6/lib fd_attribs.o fd_con
trol.o fd_fake.o fd_file.o
fd_forms.o fd_groups.o fd_hel
p.o fd_initforms.o fd_main.o
fd_names.o fd_objects.o
fd_pallette.o fd_printC.o fd_rubber.o
fd_select.o fd_spec.o
fd_super.o fd_util.o sp_browser.o
sp_button.o sp_choice.o
sp_counter.o sp_dial.o sp_freeobj.o
sp_menu.o sp_pixmap.o
sp_positioner.o sp_scrollbar.o
sp_slider.o sp_twheel.o
sp_xyplot.o -lXext -lX11 -Xlinker -Bstatic
-L../lib -lforms
-L/usr/X11R6/lib -lXpm
-Xlinker -Bdynamic
-lm
/usr/X11R6/lib/libforms.a(flresource.o)(.text+0xd4b):
In function `fl_initialize
':
/lib/flresource.c:792: undefined reference to
`__ctype_toupper'
/usr/X11R6/lib/libforms.a(flresource.o)(.text+0xd65):/lib/flresource.c:794:
unde
fined reference to `__ctype_toupper'
/usr/X11R6/lib/libforms.a(fonts.o)(.text+0x68c):
In function `cv_fname':
/lib/fonts.c:519: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(fonts.o)(.text+0x6e5):/lib/fonts.c:527:
undefined refe
rence to `__ctype_b'
/usr/X11R6/lib/libforms.a(forms.o)(.text+0x111e):
In function `do_shortcut':
/lib/forms.c:1155: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(forms.o)(.text+0x1137):
In function `do_shortcut':
/usr/include/ctype.h:176: undefined reference to
`__ctype_toupper'
/usr/X11R6/lib/libforms.a(forms.o)(.text+0x114e):/usr/include/ctype.h:170:
undef
ined reference to `__ctype_tolower'
/usr/X11R6/lib/libforms.a(goodie_yesno.o)(.text+0x1bf):
In function `fl_show_que
stion':
/lib/goodie_yesno.c:99: undefined reference to
`__ctype_tolower'
/usr/X11R6/lib/libforms.a(goodie_yesno.o)(.text+0x1d6):/lib/goodie_yesno.c:100:
undefined reference to `__ctype_toupper'
/usr/X11R6/lib/libforms.a(goodie_yesno.o)(.text+0x209):/lib/goodie_yesno.c:103:
undefined reference to `__ctype_tolower'
/usr/X11R6/lib/libforms.a(goodie_yesno.o)(.text+0x22c):/lib/goodie_yesno.c:105:
undefined reference to `__ctype_toupper'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x260c):
In function `date_validator':
/lib/input.c:1835: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x2782):
In function `float_int_validat
or':
/lib/input.c:1889: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x27eb):/lib/input.c:1901:
undefined re
ference to `__ctype_tolower'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x2895):/lib/input.c:1909:
undefined re
ference to `__ctype_b'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x28b2):/lib/input.c:1909:
undefined re
ference to `__ctype_b'
/usr/X11R6/lib/libforms.a(input.o)(.text+0x30c9):
In function `fl_set_input_form
at':
/lib/input.c:1797: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(objects.o)(.text+0xc9c):
In function `fl_convert_short
cut':
/lib/objects.c:1025: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(objects.o)(.text+0xd63):
In function `fl_get_underline
_pos':
/lib/objects.c:1058: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(objects.o)(.text+0xdd2):/lib/objects.c:1076:
more unde
fined references to `__ctype_b' follow
/usr/X11R6/lib/libforms.a(objects.o)(.text+0xdeb):
In function `fl_get_underline
_pos':
/usr/include/ctype.h:176: undefined reference to
`__ctype_toupper'
/usr/X11R6/lib/libforms.a(objects.o)(.text+0xe02):/usr/include/ctype.h:170:
unde
fined reference to `__ctype_tolower'
/usr/X11R6/lib/libforms.a(space.o)(.text+0x13):
In function `fl_de_space':
/lib/space.c:53: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(space.o)(.text+0x83):
In function `fl_nuke_all_spaces'
:
/lib/space.c:89: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(space.o)(.text+0xeb):
In function `fl_nuke_all_non_aln
um':
/lib/space.c:102: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(space.o)(.text+0x158):
In function `fl_space_de':
/lib/space.c:69: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(space.o)(.text+0x1e1):
In function `fl_de_space_de':
/lib/space.c:69: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(symbols.o)(.text+0x1f5):/lib/symbols.c:146:
more undef
ined references to `__ctype_b' follow
/usr/X11R6/lib/libforms.a(win.o)(.text+0x605): In
function `fl_label_to_res_name
':
/lib/win.c:546: undefined reference to
`__ctype_tolower'
/usr/X11R6/lib/libforms.a(xpopup.o)(.text+0x4a3):
In function `parse_entry':
/lib/xpopup.c:296: undefined reference to
`__ctype_b'
/usr/X11R6/lib/libforms.a(xpopup.o)(.text+0x50f):/lib/xpopup.c:306:
undefined re
ference to `__ctype_b'
collect2: ld returned 1 exit status
which seems to relate to a problem in ctype.h
(which is present)
I'm aware that there are differences in the gcc
(ver 3.0+) supplied with Red Hat 8 & 9 as opposed
to Red Hat 7.3 (gcc ver 2.96) so I thought I'd
try to run the system with the older gcc,
(gcc296) but I couldn't see how to alter the
Makefile to do this.
I'd be grateful for any help.
David Scriven
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
Development: http://savannah.nongnu.org/files/?group=xforms
This archive was generated by hypermail 2b29 : Mon Apr 14 2003 - 03:14:53 EDT