List Info

Thread: Error building sipXezphone




Error building sipXezphone
user name
2007-05-29 21:32:19
Hi,

I'm trying to build sipXezphone on FC5 and getting the
following error
while building it:

------------------------------------------------------------
-------------------------------------------------------

[rootcc-05 sipXezPhone]# make
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  
-I/usr/local/sipx/include
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.8
-I/usr/local/include/wx- 2.8 -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES
-D__WXGTK__ -pthread -INONE/include -g -O2
-D__pingtel_on_posix__
-D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64
-fmessage-length=0 -Wall
-Wformat -Wwrite-strings -Wpointer-arith -I/usr/include -MT
sipXezPhone-AddContactDlg.o -MD -MP -MF
".deps/sipXezPhone-AddContactDlg.Tpo" -c -o
sipXezPhone-AddContactDlg.o `test -f 'AddContactDlg.cpp' ||
echo
'./'`AddContactDlg.cpp; 

then mv -f ".deps/sipXezPhone-AddContactDlg.Tpo"
".deps/sipXezPhone-AddContactDlg.Po"; else rm -f
".deps/sipXezPhone-
AddContactDlg.Tpo"; exit 1; fi

AddContactDlg.cpp:87:2: warning: no newline at end of file

/usr/local/include/wx-2.8/wx/hashmap.h: In member function
âwxLongToLongHashMap_wxImplementation_HashTable::Node**
wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(c
onst long
int&) constâ:

/usr/local/include/wx-2.8/wx/hashmap.h:714: warning:
dereferencing
type-punned pointer will break strict-aliasing rules

/usr/local/include/wx-2.8/wx/clntdata.h: In member function
âwxShadowObjectMethods_wxImplementation_HashTable::Node**
wxShadowObjectMethods_wxImpleme
ntation_HashTable::GetNodePtr(const
wxString&) constâ:

/usr/local/include/wx-2.8/wx/clntdata.h:20: warning:
dereferencing
type-punned pointer will break strict-aliasing rules

/usr/local/include/wx-2.8/wx/clntdata.h: In member function
âwxShadowObjectFields_wxImplementation_HashTable::Node**
wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(
const
wxString&) constâ:

/usr/local/include/wx-2.8/wx/clntdata.h:25: warning:
dereferencing
type-punned pointer will break strict-aliasing rules

/usr/local/include/wx-2.8/wx/gdicmn.h: In member function
âwxStringToColourHashMap_wxImplementation_HashTable::Node**
wxStringToColourHashMap_wxImplementation_HashTable::GetNodeP
tr(const
wxString&) constâ:

/usr/local/include/wx-2.8/wx/gdicmn.h:544: warning:
dereferencing
type-punned pointer will break strict-aliasing rules

/usr/local/include/wx-2.8/wx/image.h: In member function
âwxImageHistogramBase_wxImplementation_HashTable::Node**
wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(
const long
unsigned int&) constâ:

/usr/local/include/wx-2.8/wx/image.h:136: warning:
dereferencing
type-punned pointer will break strict-aliasing rules

AddContactDlg.cpp: In member function âvirtual void
AddContactDlg::OnOK(wxCommandEv ent&)â:

AddContactDlg.cpp:86: error: âOnOKâ is not a member of
âwxDialogâ

make: *** [sipXezPhone-AddContactDlg.o] Error 1

[rootcc-05 sipXezPhone]#

------------------------------------------------------------
-----------------------------------------------------

I have built wxWdigets as well successfully. I 'm guessing
that the
above error is because it is not able to find the wxWidgets
libraries.
Can anyone point to the solution of the above?

Also, the sipxEzphone source code which came along with
sipXcalllib
tar ball didn't have the header files for sipXezphone, i had
to copy
the header files from the svn source code of sipXpbx 3.6.
Not sure if
i'm missing somthing here.


-- 
Regards,
Ganesha
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

Re: Error building sipXezphone
user name
2007-05-30 04:53:14
On 5/30/07, Ganesha Duggirala <ganesadgmail.com> wrote:
> I have built wxWdigets as well successfully. I 'm
guessing that the
> above error is because it is not able to find the
wxWidgets libraries.
> Can anyone point to the solution of the above?
Your logs say that it found wxWidgets headers successfully,
but rather
could not find "OnOK" symbol in them. So I could
guess, you have
version of wxWidgets, incompatible with sipXezPhone.

> Also, the sipxEzphone source code which came along with
sipXcalllib
> tar ball didn't have the header files for sipXezphone,
i had to copy
> the header files from the svn source code of sipXpbx
3.6. Not sure if
> i'm missing somthing here.
Tarball? Which sources do you use?
Latest sipXtapi sources are in sipXtapi svn branch:
http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi/ -
repo
http://scm.sipfoundry.org/viewsvn/sipX/branches/sipXtap
i/ - VeiwVC

But I should notice that sipXezPhone was not updated for a
long time,
while sipXtapi is evolving gradually. sipXtapi API was not
changed much,
so sipXezPhone may be compilable, but it may need some
effort. If you'll
succeed we'll want to see your patch.

To get an idea how sipXtapi works, you may look into
PlaceCall and
ReceiveCall examples, and read documentation. sipXtapi have
rather
easy API, so it will not be hard to learn it. What do you
want to do with
sipXtapi?

-- 
Regards,
Alexander Chemeris.

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )