Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ailin-nemui
Copy link
Contributor

No description provided.

@dequis
Copy link
Member

dequis commented Jul 18, 2019

This one was


Running compile:
Working directory:  /tmp/tmprkbi28ef
Command line:  cc -I/usr/local/include -I/usr/lib/perl5/5.30/core_perl/CORE -L/usr/local/lib -L/usr/lib/perl5/5.30/core_perl/CORE /tmp/tmprkbi28ef/testfile.c -o /tmp/tmprkbi28ef/output.exe -pipe -O0 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -Wl,-E -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -Wl,--start-group -lperl -lpthread -ldl -lm -lcrypt -lutil -Wl,--end-group 

Code:
 
#include <EXTERN.h>
#include <perl.h>
int main()
{
  perl_alloc();
  return 0;
}

Compiler stdout:
 
Compiler stderr:
 In file included from /usr/include/sys/types.h:25,
                 from /usr/lib/perl5/5.30/core_perl/CORE/perl.h:697,
                 from /tmp/tmprkbi28ef/testfile.c:3:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~

Program stdout:


Program stderr:

/tmp/tmprkbi28ef/output.exe: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

Checking if "working Perl support" runs: NO (127)

@ailin-nemui ailin-nemui merged commit 66ac295 into irssi:master Jul 18, 2019
@ailin-nemui ailin-nemui deleted the meson-perl branch July 18, 2019 12:23
@ailin-nemui ailin-nemui added this to the 1.3.0 milestone Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants