aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Pb with make of wxGTK-2.4.2  (Read 4831 times)

Moetda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Pb with make of wxGTK-2.4.2
« on: January 27, 2004, 12:16:52 AM »

Hi

I'v folowed the Howto but at the end of the make i've got this messages  ?(
Can someone helps me  ;(

In file included from ./src/common/parser.y:127:
./src/common/lexer.l: Dans la fonction « wxExprCleanUp »:
./src/common/lexer.l:190: error: `PROIO_yy_current_buffer' undeclared (first use in this function)
./src/common/lexer.l:190: error: (Each undeclared identifier is reported only once
./src/common/lexer.l:190: error: for each function it appears in.)
make: *** [parser.o] Erreur 1

thank's in advance
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: Pb with make of wxGTK-2.4.2
« Reply #1 on: January 27, 2004, 12:20:50 AM »

do you have flex installed ?

greets

Moetda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Pb with make of wxGTK-2.4.2
« Reply #2 on: January 27, 2004, 12:30:21 AM »

Yes i've had this message once
I forgot to say i'm a newbie and I use Knoppix (Debian based)

I've tried make uninstall, make clean, apt-get install flex and I've the 2.5.31-16 version

Then one more time make and one more time the same error

Oh may be it need's a ldconfig ?
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: Pb with make of wxGTK-2.4.2
« Reply #3 on: January 27, 2004, 12:34:14 AM »

after installing a new pkg, u have to rerun the ./configure script first

Moetda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Pb with make of wxGTK-2.4.2
« Reply #4 on: January 27, 2004, 12:36:10 AM »

Ok I do it again  :]
Logged

Moetda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Pb with make of wxGTK-2.4.2
« Reply #5 on: January 27, 2004, 02:14:35 PM »

Well I've done :

make uninstall
make clean
./configure --prefix=/usr --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile
make
 
And unfortunately I've the same result  ;(
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: Pb with make of wxGTK-2.4.2
« Reply #6 on: January 27, 2004, 02:21:51 PM »

ok, i found smth else:

Quote
This is a well know problem i have when helping another user, to fix :

- Edit wxGTK-2.4.2/src/common/lexer.l
- Go to the end of file and remove :
Code: [Select]
#ifdef FLEX_SCANNER
        if (yy_current_buffer)
                yy_delete_buffer(yy_current_buffer);
#endif
Then relaunch make as usual ...

A++

Moetda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Pb with make of wxGTK-2.4.2
« Reply #7 on: January 27, 2004, 02:59:31 PM »

And you know what ??

It works ! :D

I've a low id but i will found why

Thanks a lot for your quickness and effectivness  8)
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: Pb with make of wxGTK-2.4.2
« Reply #8 on: January 27, 2004, 03:09:00 PM »

ur welcome :)