aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compilation of wxGTK-2.4.2 unsuccessful  (Read 2060 times)

pascal_67

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
compilation of wxGTK-2.4.2 unsuccessful
« on: April 05, 2004, 03:05:07 PM »

Hi,

I tried to compile  wxGTK-2.4.2 as explained by deltaHF, but I've got these error messages :
[...]
creating utils/convertrc/Makefile

Configured wxWindows 2.4.2 for `i686-pc-linux-gnu'

  Which GUI toolkit should wxWindows use?                 GTK
  Should wxWindows be compiled in debug mode?             no
  Should wxWindows be linked as a shared library?         yes
  Should wxWindows be compiled in Unicode mode?           no
  What level of wxWindows compatibility should be enabled?
                                       wxWindows 2.0      no
                                       wxWindows 2.2      yes
  Which libraries should wxWindows use?
                                       jpeg               sys
                                       png                sys
                                       regex              sys
                                       tiff               sys
                                       zlib               sys

gcc -c   -I./lib/wx/include/gtk-2.4 -I./include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -pthread -Wall -I. -fPIC -o parser.o parser.c
btyaccpa.ske:111: error: erreur d'analyse syntaxique before "PROIO_yyparsestate"
btyaccpa.ske:111: attention : pas de point virgule à la fin de la structure ou de l'union
btyaccpa.ske:125: error: erreur d'analyse syntaxique before '}' token
btyaccpa.ske:128: error: erreur d'analyse syntaxique before '*' token
btyaccpa.ske:128: attention : type defaults to `int' in declaration of `PROIO_yyps'
btyaccpa.ske:128: attention : data definition has no type or storage class
btyaccpa.ske:131: error: erreur d'analyse syntaxique before '*' token

[...]

btyaccpa.ske:828: error: erreur d'analyse syntaxique before ']' token
make: *** [parser.o] Erreur 1

My operating system is Debian Sid.

About yacc :
pascal@debian:~$ yacc --version
bison (GNU Bison) 1.875a

By the way, where is the get-info.sh script ? I've Got only a HTML file when I download it...

Thank you for your work on amule and for your support.

Regards

Pascal
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation of wxGTK-2.4.2 unsuccessful
« Reply #1 on: April 05, 2004, 03:34:57 PM »

pascal_67

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: compilation of wxGTK-2.4.2 unsuccessful
« Reply #2 on: April 05, 2004, 03:59:46 PM »

Here is the output :

debian:/home/pascal# sh get-info.sh
I.   Development Environment

     A. Compiler Info
        Lecture des spécification à partir de /usr/lib/gcc-lib/i486-linux/3.3.3/specs Configuré avec: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib,gtk --enable-objc-gc i486-linux Modèle de thread: posix version gcc 3.3.3 (Debian 20040321)

     B. wxWindows Info
get-info.sh: line 1: wx-config: command not found
        Version:
get-info.sh: line 1: wx-config: command not found
       

     C. GTK Info
        GTK 1: 1.2.10
        GTK 2: 2.2.4

II.  System Environment

     A. CPU Info
        Type:  AuthenticAMD
        Model: AMD Athlon(tm) XP 2000+
        Speed: 1662.442
        BMips: 3276.80
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow

     B. Memory Info
        Total:   256796 kB
        Unused:  56588 kB

     C. Kernel Info
        Version: 2.6.4

     D. Library Info
        wxWindows library:

Cheers,

   Pascal
Logged