James Rich wrote:

> > And the make still hung on rpl_malloc.
>
> This still bothers me.  Can you send me the entire output from make?

Sure. In the following, the 'inet_aton' goes away when I manually add -lresolv 
to the
x5150 link lists.
----------

cd . && /bin/bash /usr/local/src/x5250/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/usr/local/src/x5250'
Making all in src
make[2]: Entering directory `/usr/local/src/x5250/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT alloccolors.o -MD -MP -MF 
".deps/alloccolors.Tpo" -c -o alloccolors.o alloccolors.c; \
then mv -f ".deps/alloccolors.Tpo" ".deps/alloccolors.Po"; else rm -f 
".deps/alloccolors.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT debug.o -MD -MP -MF ".deps/debug.Tpo" 
-c -o debug.o debug.c; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" 
-c -o dialog.o dialog.c; \
then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT help.o -MD -MP -MF ".deps/help.Tpo" -c 
-o help.o help.c; \
then mv -f ".deps/help.Tpo" ".deps/help.Po"; else rm -f ".deps/help.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT mouse.o -MD -MP -MF ".deps/mouse.Tpo" 
-c -o mouse.o mouse.c; \
then mv -f ".deps/mouse.Tpo" ".deps/mouse.Po"; else rm -f ".deps/mouse.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT key.o -MD -MP -MF ".deps/key.Tpo" -c -o 
key.o key.c; \
then mv -f ".deps/key.Tpo" ".deps/key.Po"; else rm -f ".deps/key.Tpo"; exit 1; 
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT wordwrap.o -MD -MP -MF 
".deps/wordwrap.Tpo" -c -o wordwrap.o wordwrap.c; \
then mv -f ".deps/wordwrap.Tpo" ".deps/wordwrap.Po"; else rm -f 
".deps/wordwrap.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT resources.o -MD -MP -MF 
".deps/resources.Tpo" -c -o resources.o resources.c; \
then mv -f ".deps/resources.Tpo" ".deps/resources.Po"; else rm -f 
".deps/resources.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT x5250.o -MD -MP -MF ".deps/x5250.Tpo" 
-c -o x5250.o x5250.c; \
then mv -f ".deps/x5250.Tpo" ".deps/x5250.Po"; else rm -f ".deps/x5250.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -MT x5250term.o -MD -MP -MF 
".deps/x5250term.Tpo" -c -o x5250term.o x5250term.c; \
then mv -f ".deps/x5250term.Tpo" ".deps/x5250term.Po"; else rm -f 
".deps/x5250term.Tpo"; exit 1; fi
x5250term.c: In function `x5250_terminal_waitevent':
x5250term.c:1810: warning: passing arg 1 of `XRefreshKeyboardMapping' from 
incompatible pointer type
gcc -I/usr/openwin/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -DDATADIR=\"/usr/local/share\" -g -O2 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-o x5250  alloccolors.o debug.o dialog.o help.o mouse.o key.o wordwrap.o 
resources.o x5250.o x5250term.o -L/usr/local/lib -l5250 -lssl -lcrypto -lnsl 
-lsocket -lncurses -lglib-2.0   -L/usr/local/lib
-l5250 -lssl -lcrypto -lnsl -lsocket -lncurses -lglib-2.0    -lSM -lICE  
-L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lsocket  -lnsl
Undefined   first referenced
 symbol         in file
rpl_malloc                          debug.o
inet_aton                           /usr/local/lib/lib5250.so
ld: fatal: Symbol referencing errors. No output written to x5250
collect2: ld returned 1 exit status
make[2]: *** [x5250] Error 1
make[2]: Leaving directory `/usr/local/src/x5250/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/x5250'
make: *** [all] Error 2

--
Jack J. Woehr                 # Ordinator consistetvr,
PO Box 51, Golden, CO 80402   # redintegrandvs tandem
http://www.well.com/~jax      # tangenda qvodvis clavis.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.