EPS-GS 8.15.2 compile fails - rpl_malloc

Rufus Laggren rlaggren at mail.com
Thu Sep 14 23:20:48 PDT 2006


THis problem has been reported and dealt with several times, based on net comments. I have tried a couple fixes in the Configure script, lastly commenting out completely the test section which redefines malloc; this just seemed to move the failure to a different calling module. I searched the files in the GS install dirs for any ref's to rpl_malloc (found none). At this point, I'm at the end of the obvious solutions - don't know where the ref to rpl_malloc is coming from. I run Suse10.0 w/all the latest patches.

Below are some lines from the "make" output. Besides the "rpl_malloc" problem, I know there are other mods missing; I have been fixing those easily by installing the /devel packages as I get further in the compile (as the compiler coughs up more "undefined"s - in this case it's a bmp_map_xx module). malloc appears to be getting redefined somewhere, but where... ?

I haven't done much compiling under Linux; the last time I worked regular with compilers was w/IBM in the 80's. Afraid I haven't gotten any quicker at it... <g>  Any ideas would be appreciated. Maybe I'm just doing something blind&dumb.

Cheers, Rufus

+++++++++ make output ++++++++++
...
configure:1388: checking for gcc
configure:1404: found /usr/bin/gcc
configure:1414: result: gcc
configure:1658: checking for C compiler version
configure:1661: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
...
/bin/sh <./obj/ldt.tr
./obj/gp_unifs.o: In function `gp_open_scratch_file':
gp_unifs.c:(.text+0x89): warning: the use of `mktemp' is dangerous, better use `mkstemp'
./obj/icc.o: In function `icmAllocStd_malloc':
icc.c:(.text+0x37b): undefined reference to `rpl_malloc'
./obj/jbig2.o: In function `jbig2_default_alloc':
jbig2.c:(.text+0xb): undefined reference to `rpl_malloc'
./obj/jbig2_huffman.o: In function `jbig2_huffman_new':
jbig2_huffman.c:(.text+0xe): undefined reference to `rpl_malloc'
./obj/jbig2_huffman.o: In function `jbig2_build_huffman_table':
jbig2_huffman.c:(.text+0x1fb): undefined reference to `rpl_malloc'
jbig2_huffman.c:(.text+0x211): undefined reference to `rpl_malloc'
./obj/ijs_client.o:ijs_client.c:(.text+0xf6): more undefined references to `rpl_malloc' follow
./obj/gomni.o: In function `OpenDevice':
gomni.c:(.text+0x122): undefined reference to `bmp_map_16m_rgb_color'
gomni.c:(.text+0x12c): undefined reference to `bmp_map_16m_color_rgb'
./obj/gswts.o: In function `gs_wts_screen_enum_new':
gswts.c:(.text+0x989): undefined reference to `rpl_malloc'
gswts.c:(.text+0x9b1): undefined reference to `rpl_malloc'
gswts.c:(.text+0x9ff): undefined reference to `rpl_malloc'
gswts.c:(.text+0xa27): undefined reference to `rpl_malloc'
./obj/gswts.o: In function `wts_sort_cell':
gswts.c:(.text+0xdd1): undefined reference to `rpl_malloc'
./obj/gswts.o:gswts.c:(.text+0xef4): more undefined references to `rpl_malloc' follow
collect2: ld returned 1 exit status







More information about the cups mailing list