On Tuesday, February 25, 2014 1:34:30 PM UTC+9, Bram Moolenaar wrote: > Yasuhiro Matsumoto wrote: > > > When -Dusethreads is specified for building perl, build stops with error. > > Below is a patch. > > > > https://gist.github.com/mattn/9202034 > > > > I tested this on: > > > > linux perl 5.14 & --enable-perlinterp=yes (OK) > > linux perl 5.14 & --enable-perlinterp=dynamic (OK) > > linux perl 5.16 & --enable-perlinterp=yes (OK) > > linux perl 5.16 & --enable-perlinterp=dynamic (OK) > > linux perl 5.18 & --enable-perlinterp=yes (OK) > > linux perl 5.18 & --enable-perlinterp=dynamic (OK) > > linux perl 5.19 & --enable-perlinterp=yes (OK) > > linux perl 5.19 & --enable-perlinterp=dynamic (OK) > > windows strawberry perl 5.16 & DYNAMIC_PERL=yes (OK) > > > What is the error being fixed? So that people who run into that problem > > knows this patch will fix it.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDYNAMIC_PERL_DLL=\"libperl.a\" -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/mattn/perl516/lib/5.14.4/x86_64-linux/CORE -o objects/if_perl.o auto/if_perl.c if_perl.xs:172:0: warning: "Perl_croak_nocontext" redefined [enabled by default] /home/mattn/perl516/lib/5.14.4/x86_64-linux/CORE/embed.h:1731:0: note: this is the location of the previous definition if_perl.xs:389:1: error: unknown type name 'perl_key' make: *** [objects/if_perl.o] Error 1 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
