Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 15:45:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190843] [PATCH] games/odamex to 0.7.0
Message-ID:  <bug-190843-13-rGXU1Rz07C@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190843-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190843-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190843

--- Comment #3 from Carlos Jacobo Puga Medina <cjpugmed@gmail.com> ---
Ok, finally I could sort out this error, but now I have other build errors
because wxgtk28-common is outdated [1]. At least is necessary to update to
version 2.9.0 that added wxQueueEvent() to get it compiled.

Build errors:

[ 44%] Building CXX object
odalaunch/CMakeFiles/odalaunch.dir/src/frm_odaget.cpp.o
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:83:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:360:39:
warning: format specifies type 'unsigned long long' but the argument has type
'size_t' (aka 'unsigned int') [-Wformat]
                                      (size_t)event.GetInt());
                                      ^~~~~~~~~~~~~~~~~~~~~~
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:514:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:524:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:534:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:583:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:595:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:603:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:619:36:
error: cannot pass non-POD object of type 'wxString' to variadic method;
expected type from format string was 'char *' [-Wnon-pod-varargs]
    Command.Printf(wxT("SIZE %s"), m_File);
                             ~~    ^~~~~~
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:619:36:
note: did you mean to call the c_str() method?
    Command.Printf(wxT("SIZE %s"), m_File);
                                   ^
                                         .c_str()
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:645:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:652:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:669:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:675:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:688:5:
error: use of undeclared identifier 'wxQueueEvent'
    wxQueueEvent(m_EventHandler, Event.Clone());
    ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:713:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:723:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:733:13:
error: use of undeclared identifier 'wxQueueEvent'
            wxQueueEvent(m_EventHandler, Event.Clone());
            ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:763:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:771:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
/usr/ports/games/odamex/work/odamex-src-0.7.0/odalaunch/src/frm_odaget.cpp:784:9:
error: use of undeclared identifier 'wxQueueEvent'
        wxQueueEvent(m_EventHandler, Event.Clone());
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
*** [odalaunch/CMakeFiles/odalaunch.dir/src/frm_odaget.cpp.o] Error code 1

make[4]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
1 error

make[4]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
*** [odalaunch/CMakeFiles/odalaunch.dir/all] Error code 2

make[3]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
1 error

make[3]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
*** [all] Error code 2

make[2]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
1 error

make[2]: stopped in /usr/ports/games/odamex/work/odamex-src-0.7.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/games/odamex
*** Error code 1

Stop.

Yours sincerely

--CJPM

[1] http://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_3_0_0/docs/changes.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190843-13-rGXU1Rz07C>