Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 15707
Status: rejected
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: Can't compile
Hi, I am trying to compile Net-SSH2-0.04 (I have also tried earlier versions) under Solaris 8 ("cc" compiler), but it is impossible, I got several syntax error messages in SSH2.xs such as "undefined or not a type: inline". Thank you in advance.
Removed "inline"; checked generated C code with -ansi -pedantic. Will be in version 0.05.
Hello, I am getting troubles compiling Net-SSH2-0.05 in a Solaris 8 system. "perl Makefile.PL" works fine, but "make" shows this error list. Thank you in advance. =================================== cc -c -I/usr/local/include -I. -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -KPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris-thread-multi/CORE" SSH2.c "SSH2.xs", line 689: warning: argument #3 is incompatible with prototype: prototype: pointer to void : "/usr/local/include/libssh2.h", line 263 argument : pointer to function() returning void "SSH2.xs", line 782: non-constant initializer: op "NAME" "SSH2.xs", line 782: non-constant initializer: op "U*" "SSH2.xs", line 782: non-constant initializer: op "NAME" "SSH2.c", line 1164: cannot recover from previous errors cc: acomp failed for SSH2.c *** Error code 2 make: Fatal error: Command failed for target `SSH2.o'
[guest - Thu Nov 24 03:03:29 2005]: Show quoted text
> Hello, > > I am getting troubles compiling Net-SSH2-0.05 in a Solaris 8 > system. > "perl Makefile.PL" works fine, but "make" shows this error list. > > Thank you in advance.
Could you mail me (or attach to the bug) the generated SSH2.c file please? Thanks, D