Mark Livingstone | 7 Jun 2006 11:59
Picon

wxMDialog error in Windows make


c:\M\src\gui\wxMDialogs.cpp(2165) : error C2065: 'wxHtmlWindow' : undeclared identifier
c:\M\src\gui\wxMDialogs.cpp(2165) : error C2065: 'license' : undeclared identifier
c:\M\src\gui\wxMDialogs.cpp(2165) : error C2061: syntax error : identifier 'wxHtmlWindow'
c:\M\src\gui\wxMDialogs.cpp(2172) : error C2227: left of '->SetPage' must point to class/struct/union
        type is ''unknown-type''
c:\M\src\gui\wxMDialogs.cpp(2172) : error C3861: 'license': identifier not found, even with
argument-dependent lookup
c:\M\src\gui\wxMDialogs.cpp(2185) : error C2227: left of '->SetConstraints' must point to class/struct/union
        type is ''unknown-type''
c:\M\src\gui\wxMDialogs.cpp(2185) : error C3861: 'license': identifier not found, even with
argument-dependent lookup
Vadim Zeitlin | 7 Jun 2006 16:07
Favicon

Re: wxMDialog error in Windows make

On Wed, 7 Jun 2006 19:59:01 +1000 Mark Livingstone <mlivingstone <at> users.sourceforge.net> wrote:

ML> c:\M\src\gui\wxMDialogs.cpp(2165) : error C2065: 'wxHtmlWindow' : undeclared identifier

 Looks like a missing header, thanks. I wonder how did it compile both for
me and Nerijus... Anyhow, fixed now in the cvs.

 Thanks,
VZ
Nerijus Baliunas | 7 Jun 2006 16:14
Picon

Re: wxMDialog error in Windows make

On Wed, 7 Jun 2006 16:07:42 +0200 Vadim Zeitlin <vadim <at> wxwindows.org> wrote:

VZ> ML> c:\M\src\gui\wxMDialogs.cpp(2165) : error C2065: 'wxHtmlWindow' : undeclared identifier
VZ> 
VZ>  Looks like a missing header, thanks. I wonder how did it compile both for
VZ> me and Nerijus...

Probably because of ABX header shuffles in wx cvs. I use 2.6 from cvs.
But it's not a big problem, adding even unneeded (for 2.6 for example)
header does not do much harm :)

Regards,
Nerijus
Mark Livingstone | 8 Jun 2006 12:17
Picon

Problem building after gcc upgrade

Hi Guys,

A few days ago GCC 3.4.6 became the current stable compiler on Gentoo. Since that, I get the following. Any
ideas? Once we get that sorted, I can give you the current message as to why it doesn't build with a gnome vfs
wxWidgets HEAD cvs image (which is also broken today!)

:-(

mlivingstone <at> constellation ~/projects/M/build $ make
make[1]: Entering directory `/home/mlivingstone/projects/M/build/include'
make[1]: Leaving directory `/home/mlivingstone/projects/M/build/include'
make[1]: Entering directory `/home/mlivingstone/projects/M/build/lib'
set -e; for i in compface imap; do make -C $i -f Makefile.M all; done
make[2]: Entering directory `/home/mlivingstone/projects/M/build/lib/compface'
make[2]: Leaving directory `/home/mlivingstone/projects/M/build/lib/compface'
make[2]: Entering directory `/home/mlivingstone/projects/M/build/lib/imap'
make all `cat SPECIALS`
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make lnx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
cc1: error: unrecognized command line option "-Wno-pointer-sign"
make[4]: *** [osdep.o] Error 1
make[3]: *** [missing] Error 2
make[2]: *** [c-client/c-client.a] Error 2
make[2]: Leaving directory `/home/mlivingstone/projects/M/build/lib/imap'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mlivingstone/projects/M/build/lib'
(Continue reading)

Vadim Zeitlin | 8 Jun 2006 12:24
Favicon

Re: Problem building after gcc upgrade

On Thu, 8 Jun 2006 20:17:54 +1000 Mark Livingstone <mlivingstone <at> users.sourceforge.net> wrote:

ML> A few days ago GCC 3.4.6 became the current stable compiler on Gentoo.
ML> Since that, I get the following. Any ideas?

 Well, nothing except what it says in your log:

cc1: error: unrecognized command line option "-Wno-pointer-sign"

So apparently this gcc version doesn't like this option. The solution is to
just remove it, either from the generated Makefile or from configure. For
the real fix I'd need to know since when it is available. I didn't realize
it wasn't in all versions because it is recognized by gcc 2.95, 3.2 and 4.0
but is not recognized by 3.3 and 3.4 (huh?).

ML> Once we get that sorted, I
ML> can give you the current message as to why it doesn't build with a
ML> gnome vfs wxWidgets HEAD cvs image (which is also broken today!)

 Already fixed in the cvs.
VZ
Mark Livingstone | 10 Jun 2006 11:11
Picon

Re: Problem building after gcc upgrade

Hi Vadim,

Just getting back to this now - Exam week just begun :-( 

> On Thu, 8 Jun 2006 20:17:54 +1000 Mark Livingstone <mlivingstone <at> users.sourceforge.net> wrote:
> 
> ML> A few days ago GCC 3.4.6 became the current stable compiler on Gentoo.
> ML> Since that, I get the following. Any ideas?
> 
>  Well, nothing except what it says in your log:
> 
> cc1: error: unrecognized command line option "-Wno-pointer-sign"
> 
> So apparently this gcc version doesn't like this option. The solution is to
> just remove it, either from the generated Makefile or from configure. For
> the real fix I'd need to know since when it is available. I didn't realize
> it wasn't in all versions because it is recognized by gcc 2.95, 3.2 and 4.0
> but is not recognized by 3.3 and 3.4 (huh?).

 went to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22511 and if I read this right, C++ should never
have had this warning (only C / Obj C). Is that your reading of the situation?

> ML> Once we get that sorted, I
> ML> can give you the current message as to why it doesn't build with a
> ML> gnome vfs wxWidgets HEAD cvs image (which is also broken today!)
> 
>  Already fixed in the cvs.

I see that the wxWidgets now works but does this mean M will also now work with GnomeVFS build?

(Continue reading)

Mark Livingstone | 12 Jun 2006 13:09
Picon

Re: M doesn't run with cvs head incl. gnome-vfs

Hi Vadim,

The problem shown below still exists :-(

> mlivingstone <at> constellation ~/projects/M/build $ M
> Segmentation fault
> mlivingstone <at> constellation ~/projects/M/build $ gdb M
> GNU gdb 6.4
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
> library "/lib/libthread_db.so.1".
> 
> (gdb) run
> Starting program: /usr/local/bin/M
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 25783)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 25783)]
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x08282427 in SSL_library_init () at ssl.cpp:114
> #2  0xb6c34447 in gnome_vfs_socket_free () from /usr/lib/libgnomevfs-2.so.0
> #3  0xb6c21f17 in gnome_vfs_init () from /usr/lib/libgnomevfs-2.so.0
> #4  0xb7b5d0bc in wxGnomeVFSLibrary::gnome_vfs_init (this=0x8451ce0) at 
(Continue reading)


Gmane