× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A quick Google found the following discussion that might prove useful:

http://www.linuxforums.org/forum/redhat-fedora-linux-help/104263-undefined-reference-rpl_malloc.html

Alberto wrote:
Hi James this is what i am getting :

<--->
make
make all-recursive
Making all in lib5250
Target "all" is up to date.
Making all in lp5250d
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o scs2pdf scs2pdf.o ../lib5250/lib5250.la -lssl -lcrypto
gcc -g -O2 -o .libs/scs2pdf scs2pdf.o -L../lib5250/.libs -l5250 -lssl -lcrypto -Wl,-blibpath:/usr/local/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-317 ERROR: Undefined symbol: .rpl_realloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
<--->


looking on the internet it seems that setting a variable ac_cv_func_malloc_0_nonnull=yes helps ( it helped with the XlC compiler) but with GCC no.

Thanks
Ciao.
Alberto.

"James Rich" <james@xxxxxxxxxxx> ha scritto nel messaggio news:mailman.27643.1273687588.2580.linux5250@xxxxxxxxxxxxxxx
On Wed, 12 May 2010, Alberto wrote:

Hi James, thanks for your answer :-)
I succesfully compiled the tn5250 under aix at least, but unfortunately
every time i try to launch it i get a "segmentation fault(coredump)" error.
The compiler was XLC , seems that with GCC there still are problems.
I will try to do some tests and i'll let you know :-)
Can you post the output from gcc?

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
- Paul Davis on ardour-dev




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-2024 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.