perl.o: In function `call_perl_cat': undefined reference to `Perl_Gthr_key_ptr'


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Exim

perl.o: In function `call_perl_cat': undefined reference to `Perl_Gthr_key_ptr'Last Modified: Oct 13, 2009, 12:02 am
When compiliing exim, if you get errors similar to:

perl.o: In function `call_perl_cat':
perl.c:(.text+0x14): undefined reference to `Perl_Gthr_key_ptr'
perl.c:(.text+0x26): undefined reference to `Perl_Tstack_sp_ptr'
perl.c:(.text+0x50): undefined reference to `Perl_Gthr_key_ptr'
perl.c:(.text+0x62): undefined reference to `Perl_push_scope'
perl.c:(.text+0x6e): undefined reference to `Perl_Gthr_key_ptr'
perl.c:(.text+0x80): undefined reference to `Perl_Ttmps_floor_ptr'

one found solution is to edit your Local/Makefile, and change the lines that say:

HAVE_ICONV=yes
#CFLAGS=-O -I/usr/local/include
#EXTRALIBS_EXIM=-L/usr/local/lib -liconv

and replace them with:

HAVE_ICONV=no
#CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv

You can also try removing the -libiconv from the list.

 
Related Helpfiles
How to compile exim from source

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST