aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0  (Read 3591 times)

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/

can´t build todays cvs, neither on SuSE9.3, nor on SuSE10.0.

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
rpm -qa | grep wx

on suse9.3 atm:
Quote
ihmselbst@griesotron:~> ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root     39 2005-11-27 11:30 /usr/bin/wx-config -> /usr/lib/wx/config/gtk-ansi-release-2.6
-rwxr-xr-x  1 root root 326320 2005-12-02 07:26 /usr/bin/wxcas
lrwxrwxrwx  1 root root      8 2005-11-27 11:30 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root  74602 2005-09-14 18:39 /usr/bin/wxrc-2.6
ihmselbst@griesotron:~> ls -l /usr/local/bin/wx*
/bin/ls: /usr/local/bin/wx*: Datei oder Verzeichnis nicht gefunden
ihmselbst@griesotron:~> rpm -qa | grep wx
wxGTK-2.6.1-1

on suse10.0:
Quote
ihmselbst@linux:~> ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root 337968 2005-11-29 07:38 /usr/bin/wxcas
lrwxrwxrwx  1 root root     41 2005-11-25 11:05 /usr/bin/wx-config -> ../lib/wx/config/gtk2-unicode-release-2.6
ihmselbst@linux:~> ls -l /usr/local/bin/wx*
/bin/ls: /usr/local/bin/wx*: Datei oder Verzeichnis nicht gefunden
ihmselbst@linux:~> rpm -qa | grep wx
wxGTK-2.6.1.0-4
wxGTK-devel-2.6.1.0-4
wxGTK-gl-2.6.1.0-4
wxGTK-compat-2.6.1.0-4
ihmselbst@linux:~>

here, the output of the suse10.0 logfile:
Quote
ihmselbst@linux:~/Desktop/a/test> rpmbuild -ta aMule-CVS-20051203.tar.bz2
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70378
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf amule-cvs
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/aMule-CVS-20051203.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd amule-cvs
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ test -f /etc/redhat-release
+ test -f /etc/whatever
+ case $DISTRO in
++ rpm -ql wxGTK-devel
++ grep 'wxgtk-2\.[0-9]-config'
++ rpm -ql wxBase
++ grep 'wxbase-2\.[0-9]-config'
+ CFLAGS='-O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ ./configure --prefix=/usr --disable-optimize --enable-debug --enable-kad-compile --enable-cas --enable-wxcas --enable-amulecmd --enable-webserver --enable-ccache --with-wx-config= --with-wxbase-config=
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.32)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking for gd.h... (cached) yes
checking whether we need the GUI... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.6.1)
checking that wxWidgets has support for large files... yes
checking that wxBase has support for large files... yes
checking whether to use embedded Crypto... yes
checking for bfd headers... yes
checking for autopoint... yes (0.14.3)
checking for extended flex capabilities... no
configure: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recomended
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for library containing strerror... none required
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking if the applications should be statically linked... no
checking for CVSDATE... Sat Dec  3 07:02:00 CET 2005
checking if this is a FreeBSD 4 or earlier system... no
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking whether ccache support should be added... yes
checking for ccache presence... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/php-default/Makefile
config.status: creating src/webserver/chicane/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule CVS for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          yes
  Libraries aMule will use to build:
                                       wxWidgets             2.6.1
                                       crypto++              embedded
                                       libpng                1.2.8
                                       libgd                 2.0.32
                                       zlib                  1.2.3
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.96531
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILD/aMule-CVS-root
++ dirname /usr/src/packages/BUILD/aMule-CVS-root
+ /bin/mkdir -p /usr/src/packages/BUILD
+ /bin/mkdir /usr/src/packages/BUILD/aMule-CVS-root
+ cd amule-cvs
+ /usr/bin/make
/usr/bin/make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/amule-cvs'
Making all in m4
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs/man'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs/man'
make[3]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs'
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src'
bison --debug -t -d -v -o Parser.cpp Parser.y
make[2]: bison: Kommando nicht gefunden
make[2]: *** [Parser.cpp] Fehler 127
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.96531 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.96531 (%build)

the logfile for the 9.3 is attached as zip, for it is very large because of several wx-warnings:
Quote
...

+ make -j 2
make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/amule-cvs'
Making all in m4
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs/man'
make[3]: Entering directory `/usr/src/packages/BUILD/amule-cvs/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs'
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src'
bison --debug -t -d -v -o Parser.cpp Parser.y
flex -o Scanner.cpp Scanner.l; \
   cp Scanner.h.in Scanner.h
flex: can't open Scanner.cpp
make  all-recursive
make[3]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src'
Making all in libs
make[4]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src/libs'
Making all in ec
make[5]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src/libs/ec'
gcc -o mkFileSum ../../../src/utils/mkFileSum.c
Generating ECVersion.h... created.
make  all-am
make[6]: Entering directory `/usr/src/packages/BUILD/amule-cvs/src/libs/ec'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libec_noevt_a-ECPacket.o -MD -MP -MF ".deps/libec_noevt_a-ECPacket.Tpo" -c -o libec_noevt_a-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/libec_noevt_a-ECPacket.Tpo" ".deps/libec_noevt_a-ECPacket.Po"; else rm -f ".deps/libec_noevt_a-ECPacket.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libec_noevt_a-ECSocket.o -MD -MP -MF ".deps/libec_noevt_a-ECSocket.Tpo" -c -o libec_noevt_a-ECSocket.o `test -f 'ECSocket.cpp' || echo './'`ECSocket.cpp; \
then mv -f ".deps/libec_noevt_a-ECSocket.Tpo" ".deps/libec_noevt_a-ECSocket.Po"; else rm -f ".deps/libec_noevt_a-ECSocket.Tpo"; exit 1; fi
In file included from /usr/include/wx-2.6/wx/defs.h:21,
                 from /usr/include/wx-2.6/wx/string.h:25,
                 from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx-2.6/wx/platform.h:22:5: warning: "__MWERKS__" is not defined
In file included from /usr/include/wx-2.6/wx/string.h:25,
                 from ECPacket.h:28,
                 from ECPacket.cpp:25:
/usr/include/wx-2.6/wx/defs.h:628:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/defs.h:21,
                 from /usr/include/wx-2.6/wx/socket.h:19,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/platform.h:22:5: warning: "__MWERKS__" is not defined
In file included from /usr/include/wx-2.6/wx/socket.h:19,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/defs.h:628:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from ../../../src/Types.h:30,
                 from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayShort::Index(short int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Add(short int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Insert(short int, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Remove(short int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayInt::Index(int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Add(int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Insert(int, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Remove(int)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayLong::Index(long int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Add(long int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Insert(long int, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Remove(long int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayPtrVoid::Index(void*, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Add(void*, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Insert(void*, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Remove(void*)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
In file included from ../../../src/libs/common/StringFunctions.h:29,
                 from ECPacket.h:30,
                 from ECPacket.cpp:25:
../../../src/Types.h: In member function `int ArrayOfUInts16::Index(short unsigned int, bool) const':
../../../src/Types.h:88: warning: declaration of `Item' shadows a member of `this'
../../../src/Types.h: In member function `void ArrayOfUInts16::Add(short unsigned int, unsigned int)':
../../../src/Types.h:88: warning: declaration of `Item' shadows a member of `this'
../../../src/Types.h: In member function `void ArrayOfUInts16::Insert(short unsigned int, unsigned int, unsigned int)':
../../../src/Types.h:88: warning: declaration of `Item' shadows a member of `this'
../../../src/Types.h: In member function `void ArrayOfUInts16::Remove(short unsigned int)':
../../../src/Types.h:88: warning: declaration of `Item' shadows a member of `this'
In file included from /usr/include/wx-2.6/wx/event.h:37,
                 from /usr/include/wx-2.6/wx/socket.h:27,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayShort::Index(short int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Add(short int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Insert(short int, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Remove(short int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
...



already tried to build new wxGTK from current tarball, but it also failed.

 ;( 8o

what now?

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #1 on: December 03, 2005, 09:58:57 AM »

nargh, after having installed "bison" on the suse10box, it now gives similar warnings, as on the suse9.3:
now billions of lines like "/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'" appear, and then it still dies during make, only a bit later.

here its last words:
Quote
...
                 from WebSocket.cpp:27:
/usr/include/wx-2.6/wx/platform.h:22:5: warning: "__MWERKS__" is not defined
In file included from /usr/include/wx-2.6/wx/thread.h:21,
                 from WebSocket.cpp:27:
/usr/include/wx-2.6/wx/defs.h:628:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/wx.h:23,
                 from WebServer.h:34,
                 from WebSocket.h:33,
                 from WebSocket.cpp:29:
/usr/include/wx-2.6/wx/event.h:85:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:125:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:144:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:305:6: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:2125:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/socket.h:28,
                 from ../../../src/libs/ec/ECSocket.h:30,
                 from ../../../src/libs/ec/RemoteConnect.h:31,
                 from ../../ExternalConnector.h:41,
                 from WebInterface.h:30,
                 from WebServer.h:60,
                 from WebSocket.h:33,
                 from WebSocket.cpp:29:
/usr/include/wx-2.6/wx/sckaddr.h:117:5: warning: "wxUSE_IPV6" is not defined
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Add(_wxArraywxArrayShort, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Insert(_wxArraywxArrayShort, size_t, size_t
)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Remove(_wxArraywxArrayShort)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Add(_wxArraywxArrayInt, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Insert(_wxArraywxArrayInt, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Remove(_wxArraywxArrayInt)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Add(_wxArraywxArrayLong, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Insert(_wxArraywxArrayLong, size_t, size_t)'
:

...
billions of "/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'"
...
                 from ED2KLink.cpp:32:
/usr/include/wx-2.6/wx/sckaddr.h:117:5: warning: "wxUSE_IPV6" is not defined
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Add(_wxArraywxArrayShort, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Insert(_wxArraywxArrayShort, size_t, size_t
)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Remove(_wxArraywxArrayShort)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Add(_wxArraywxArrayInt, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Insert(_wxArraywxArrayInt, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Remove(_wxArraywxArrayInt)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Add(_wxArraywxArrayLong, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Insert(_wxArraywxArrayLong, size_t, size_t)'
:
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Remove(_wxArraywxArrayLong)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayPtrVoid::Index(void*, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Add(void*, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Insert(void*, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Remove(void*)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
Types.h: In member function 'int ArrayOfUInts16::Index(_wxArrayArrayOfUInts16, bool) const':
Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
Types.h: In member function 'void ArrayOfUInts16::Add(_wxArrayArrayOfUInts16, size_t)':
Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
Types.h: In member function 'void ArrayOfUInts16::Insert(_wxArrayArrayOfUInts16, size_t, size_t)':
Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
Types.h: In member function 'void ArrayOfUInts16::Remove(_wxArrayArrayOfUInts16)':
Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'int wxEventTableEntryPointerArray::Index(const wxEventTableEntry*
, bool) const':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Add(const wxEventTableEntry*,
 size_t)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Insert(const wxEventTableEntr
y*, size_t, size_t)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Remove(const wxEventTableEntr
y*)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
if /usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I. -I..   -O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SO
URCE=2 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_
OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -I./libs -O2 -g -march=i586 -mtune=i686 -fmessa
ge-length=0 -D_FORTIFY_SOURCE=2 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fme
ssage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -MT libmuleappcommon_a-MemFile.o -MD -MP -MF ".deps/libmu
...skipping...
/usr/include/wx-2.6/wx/treebase.h: In member function 'void wxArrayTreeItemIdsBase::Remove(void*)':
/usr/include/wx-2.6/wx/treebase.h:128: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/generic/grid.h: In member function 'void wxGridStringArray::push_back(const _wxObjArraywxGridS
tringArray&)':
/usr/include/wx-2.6/wx/generic/grid.h:954: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/generic/grid.h: In member function 'void wxGridCellCoordsArray::push_back(const _wxObjArraywxG
ridCellCoordsArray&)':
/usr/include/wx-2.6/wx/generic/grid.h:1069: warning: declaration of 'Item' shadows a member of 'this'
make[4]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.33808 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.33808 (%build)
...

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #2 on: December 03, 2005, 10:54:09 AM »

Seems to be a wx-linked-against-GTK1-only problem, builds without THESE warnings on Ubuntu 5.10 with wxGTK 2.6.1 linked against GTK2. On Suse 9.3 with the wxGTK 2.6.0 from dl.amule.org they appear as well. But I also get the scanner.cpp error on the ubuntu nb so that I cannot test the CVS.
Build with:  ./configure --enable-kad-compile --enable-debug --disable-optimize --enable-webserver on Ubuntu and with the spec-compiler-flags on Suse 9.3.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #3 on: December 03, 2005, 12:39:21 PM »

Works now on Ubuntu 5.10, see http://forum.amule.org/thread.php?sid=&postid=45344#post45335
I'll try now with new wx linked against GTK2 on my Suse System.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #4 on: December 03, 2005, 05:35:27 PM »

OK, I finally succeeded in compiling on Suse 9.3



I had slight problems with building rpm-packages for wxGTK-2.6.2 (I was simply pissed of seeing how it compiles for hours and to have to do it again, 'cause of any stupid error (e.g. owner of the spec is not root)) so I used CVS linked against GTK2 and now it works like a charm.
Sorry for not being able to provide RPMs right now, don't know when I'll feel strong enough to build the wxgtk again...*grml*
« Last Edit: December 03, 2005, 05:36:48 PM by wuischke »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #5 on: December 03, 2005, 05:55:37 PM »

Upgrade to SuSE 10.0. It includes:

- a wxGTK package that is suitable for aMule,
- GCC 4.0, which supports precompiled headers. wxGTK compiles _much_ faster with it.

Furthermore, you can disable quite a lot of stuff in wxGTK which is not needed by aMule. It will compile faster and make the binaries smaller.

Alternatively, you can use the attached .spec file. It produces a package with static wx libraries that is parallel installable with other wxGTK builds. You only have to set the /usr/bin/wx-config symlink manually. It must point to your desired configuration in /usr/lib/wx/config.

This .spec file is for wxGTK CVS, you can grab it from here:

http://biolpc22.york.ac.uk/pub/CVS_HEAD/

But you can of course also backport it to other wxGTK releases. Please keep in mind that wxGTK 2.6.2 is buggy and needs to be patched. And the %{_datadir}/bakefile stuff is present in CVS only.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #6 on: December 05, 2005, 08:08:15 AM »

Quote
Originally posted by Gerd78
Upgrade to SuSE 10.0. It includes:

- a wxGTK package that is suitable for aMule
...

ahum, on the other box, i`m running SuSE10.0, using the original SuSE-wxGTK-rpms for building my daily cvs-rpms.
nevertheless, it brings several warnings about "wxUSE_COMPATIBLE_COORD_TYPES", "WXWIN_COMPATIBILITY_EVENT_TYPES", "declaration of 'Item' shadows a member of 'this'" and so on (which are similar to the warnings on the SuSE9.3-box):
Quote
...
In file included from /usr/include/wx-2.6/wx/defs.h:21,
                 from /usr/include/wx-2.6/wx/socket.h:19,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/platform.h:22:5: warning: "__MWERKS__" is not defined
In file included from /usr/include/wx-2.6/wx/socket.h:19,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/defs.h:628:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/socket.h:27,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/event.h:85:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:125:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:144:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:305:6: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
/usr/include/wx-2.6/wx/event.h:2125:5: warning: "WXWIN_COMPATIBILITY_EVENT_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/socket.h:28,
                 from ECSocket.h:30,
                 from ECSocket.cpp:27:
/usr/include/wx-2.6/wx/sckaddr.h:117:5: warning: "wxUSE_IPV6" is not defined
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Add(_wxArraywxArrayShort, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Insert(_wxArraywxArrayShort, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayShort::Remove(_wxArraywxArrayShort)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Add(_wxArraywxArrayInt, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Insert(_wxArraywxArrayInt, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayInt::Remove(_wxArraywxArrayInt)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Add(_wxArraywxArrayLong, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Insert(_wxArraywxArrayLong, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayLong::Remove(_wxArraywxArrayLong)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'int wxArrayPtrVoid::Index(void*, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Add(void*, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Insert(void*, size_t, size_t)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/dynarray.h: In member function 'void wxArrayPtrVoid::Remove(void*)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'int wxEventTableEntryPointerArray::Index(const wxEventTableEntry*, bool) const':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Add(const wxEventTableEntry*, size_t)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Insert(const wxEventTableEntry*, size_t, size_t)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/event.h: In member function 'void wxEventTableEntryPointerArray::Remove(const wxEventTableEntry*)':
/usr/include/wx-2.6/wx/event.h:2238: warning: declaration of 'Item' shadows a member of 'this'
../../../src/Types.h: In member function 'int ArrayOfUInts16::Index(_wxArrayArrayOfUInts16, bool) const':
../../../src/Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
../../../src/Types.h: In member function 'void ArrayOfUInts16::Add(_wxArrayArrayOfUInts16, size_t)':
../../../src/Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
../../../src/Types.h: In member function 'void ArrayOfUInts16::Insert(_wxArrayArrayOfUInts16, size_t, size_t)':
../../../src/Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
../../../src/Types.h: In member function 'void ArrayOfUInts16::Remove(_wxArrayArrayOfUInts16)':
../../../src/Types.h:88: warning: declaration of 'Item' shadows a member of 'this'
/usr/include/wx-2.6/wx/iconbndl.h: In member function 'void wxIconArray::push_back(const _wxObjArraywxIconArray&)':
/usr/include/wx-2.6/wx/iconbndl.h:26: warning: declaration of 'Item' shadows a member of 'this'
...

but the created mules both seem to work fine. - should i be worried about something?


cu

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20051203 - configure ok, make fails on SuSE9.3 and on SuSE10.0
« Reply #7 on: December 05, 2005, 04:02:40 PM »

Quote
Originally posted by IhmSelbst
ahum, on the other box, i`m running SuSE10.0, using the original SuSE-wxGTK-rpms for building my daily cvs-rpms.
nevertheless, it brings several warnings about "wxUSE_COMPATIBLE_COORD_TYPES", "WXWIN_COMPATIBILITY_EVENT_TYPES", "declaration of 'Item' shadows a member of 'this'" and so on (which are similar to the warnings on the SuSE9.3-box):

[...]

but the created mules both seem to work fine. - should i be worried about something?
No. Simply ignore them. You only see them because "-Wundef" was recently added to aMule's ./configure CFLAGS.
Logged