pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: first time I prepare a package



Hello Obata (is this your surname ? )

eventually I managed to compile and successfully build all the
dependencies of Adunanza; as for x11-links I just issued a make cleand
and then make again and that did it.

Now I'm stuck on the Adunanza compilation. I even tried to copy the
amule Makefile since they're supposed to be s similar. But the same
error occurs.

the error follows (I added some CRs for emphasis); does it ring any bell ?
Thanks for any hint

mv -f .deps/libmuleappcore_a-Entry.Tpo .deps/libmuleappcore_a-Entry.Po

c++ -DHAVE_CONFIG_H -I. -I..  -DUSE_WX_EXTENSIONS
-I/usr/pkg/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/pkg/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXGTK__ -DwxUSE_GUI=0 -I./libs -I./include -I/usr/pkg/include
-D__WEAK_CRYPTO__  -I/usr/pkg/include -I/usr/pkg/include
-I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -W
-Wall -Wshadow -Wundef -O2 -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -MT
libmuleappcore_a-SearchManager.o -MD -MP -MF
.deps/libmuleappcore_a-SearchManager.Tpo -c -o
libmuleappcore_a-SearchManager.o `test -f
'kademlia/kademlia/SearchManager.cpp' || echo
'./'`kademlia/kademlia/SearchManager.cpp


In file included from kademlia/kademlia/Search.h:44,
                 from kademlia/kademlia/SearchManager.cpp:41:
kademlia/kademlia/../../AdunanzA.h:60:1: warning: "_B" redefined
In file included from /usr/include/g++/cctype:51,
                 from /usr/include/g++/iosfwd:47,
                 from /usr/include/g++/bits/stl_algobase.h:69,
                 from /usr/include/g++/bits/char_traits.h:46,
                 from /usr/include/g++/string:46,
                 from
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/string.h:176,
                 from
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/memory.h:16,
                 from
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/object.h:20,
                 from
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/wx.h:16,
                 from kademlia/kademlia/SearchManager.cpp:39:
/usr/include/ctype.h:52:1: warning: this is the location of the
previous definition
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/hashmap.h:
In member function
'wxLongToLongHashMap_wxImplementation_HashTable::Node**
wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long
int&) const':
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/hashmap.h:735:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/clntdata.h:
In member function
'wxShadowObjectMethods_wxImplementation_HashTable::Node**
wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/clntdata.h:20:
warning: dereferencing type-punned pointer will break strict-aliasing
rules
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/clntdata.h:
In member function
'wxShadowObjectFields_wxImplementation_HashTable::Node**
wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/pkgsrc/net/adunanza/work/.buildlink/include/wx-2.8/wx/clntdata.h:25:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

/usr/include/g++/bits/ctype_base.h: At global scope:
/usr/include/g++/bits/ctype_base.h:53: error: '_B' was not declared in
this scope

kademlia/kademlia/../routing/../utils/KadUDPKey.h:38: warning: unused
parameter 'zero'
kademlia/kademlia/../routing/../utils/KadUDPKey.h:42: warning: unused
parameter 'zero'
gmake[3]: *** [libmuleappcore_a-SearchManager.o] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/net/adunanza/work/aMule-AdunanzA-2010.1-2.2.6/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/net/adunanza/work/aMule-AdunanzA-2010.1-2.2.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/net/adunanza/work/aMule-AdunanzA-2010.1-2.2.6'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/adunanza
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/adunanza
netbsd#

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index