Re: SSH Tunneling implementation

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Magnus Hagander <magnus(at)hagander(dot)net>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: SSH Tunneling implementation
Date: 2012-07-17 13:16:02
Message-ID: CANxoLDeBTOGr+b+Wd9z7meuMZ-393gqvpm8w+yNZBxBDwNXCAw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

I am facing one problem while adding libssh2 source code in pgAdmin3. As
there are two file with same name "misc.c" and "misc.cpp", so compiler is
unable to create object file. On Windows I have changed the path of the
object file, but not found any solution on Linux. Meanwhile I have changed
the name of libssh2's "misc.c" to "libssh2_misc.c" and start compilation.

Suggestions? Comments?

On Tue, Jul 17, 2012 at 6:22 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Tue, Jul 17, 2012 at 9:20 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> > On Tue, Jul 17, 2012 at 8:56 AM, Guillaume Lelarge
> > <guillaume(at)lelarge(dot)info> wrote:
> >> On Tue, 2012-07-17 at 08:30 +0100, Dave Page wrote:
> >>> On Tue, Jul 17, 2012 at 8:17 AM, Guillaume Lelarge
> >>> <guillaume(at)lelarge(dot)info> wrote:
> >>> > On Tue, 2012-07-17 at 08:10 +0100, Dave Page wrote:
> >>> >> On Mon, Jul 16, 2012 at 10:21 PM, Guillaume Lelarge
> >>> >> <guillaume(at)lelarge(dot)info> wrote:
> >>> >> > On Sun, 2012-07-15 at 12:02 +0100, Dave Page wrote:
> >>> >> >>
> >>> >> >> Not for me - and I'd be the first to complain if I saw it doing
> that.
> >>> >> >> What do you see?
> >>> >> >>
> >>> >> >
> >>> >> > These:
> >>> >> >
> >>> >> > ./ogl/drawn.cpp: In member function ‘virtual void
> wxOpSetGDI::Do(wxDC&,
> >>> >> > double, double)’:
> >>> >> > ./ogl/drawn.cpp:423:53: warning: cast to pointer from integer of
> >>> >> > different size [-Wint-to-pointer-cast]
> >>> >> > ./ogl/drawn.cpp:444:53: warning: cast to pointer from integer of
> >>> >> > different size [-Wint-to-pointer-cast]
> >>> >> > ./ogl/drawn.cpp:454:55: warning: cast to pointer from integer of
> >>> >> > different size [-Wint-to-pointer-cast]
> >>> >> > ./ogl/drawn.cpp: In member function ‘virtual void
> >>> >> > wxPseudoMetaFile::SetPen(wxPen*, bool)’:
> >>> >> > ./ogl/drawn.cpp:2443:46: warning: cast to pointer from integer of
> >>> >> > different size [-Wint-to-pointer-cast]
> >>> >> > ./ogl/drawn.cpp: In member function ‘virtual void
> >>> >> > wxPseudoMetaFile::SetBrush(wxBrush*, bool)’:
> >>> >> > ./ogl/drawn.cpp:2458:43: warning: cast to pointer from integer of
> >>> >> > different size [-Wint-to-pointer-cast]
> >>> >>
> >>> >> What platform/GCC version?
> >>> >>
> >>> >
> >>> > Fedora 17, gcc 4.7 (gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)). With
> >>> > full updates on every possible RPM.
> >>>
> >>> 32 or 64 bit? Intel I assume?
> >>>
> >>
> >> Intel 64 bit.
> >
> > Thanks.
>
> OK, I'm going to have to download Fedora 17. I don't get any warnings
> on CentOS 6 with GCC 4.4.6.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
*Akshay Joshi
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246*

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-07-17 13:26:41 Re: SSH Tunneling implementation
Previous Message Dave Page 2012-07-17 12:52:09 Re: SSH Tunneling implementation