NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Compilation fails with GCC4


Joined: 15 Jun 2005
Posts: 1
Reply with quote
dbg/dbg-2.11.32/dbg_cmd.c: In function 'dbg_get_context_sym_table':
dbg/dbg-2.11.32/dbg_cmd.c:575: error: invalid lvalue in assignment
make: *** [dbg_cmd.lo] Error 1

Running on a fresh install of Fedora 4 (not a test release). All PHP packages (including php-devel) are installed.

It seems that this is a common problem with GCC4. A lot of apps fail compilation with similar error messages. The are simple little patches for some apps that work.

Commenting out the above error out produces similar errors in different places:

dbg_net.c:179: error: invalid lvalue in assignment
dbg_net.c:197: error: invalid lvalue in assignment
dbg_net.c:240: error: invalid lvalue in assignment
dbg_net.c:245: error: invalid lvalue in assignment
..........
View user's profileFind all posts by surenSend private message


Joined: 20 May 2004
Posts: 81
Reply with quote
We'll try to incorporate a fix into next release of debugger. For now, please try to use GCC3.
View user's profileFind all posts by mblshaSend private message


Joined: 11 Jan 2006
Posts: 3
Reply with quote
mblsha wrote:
We'll try to incorporate a fix into next release of debugger. For now, please try to use GCC3.


any word on when this will be?

Also, I'd love to buy the commercial version, but emails to dd[at]cron.ru ([at] replaced with @ of course) and dd[at]www.php-debugger.com both bounce.

Is this possible?
View user's profileFind all posts by btrotterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
it's me who was behind dd[at]cron[dot]ru address.

You may use either free one 2.11 or commercial one 2.18. Latter one is a part of NuSphere PHPED IDE and may not be sold (licensed) separately.

Regarding the problem itself, it's fixable and has already been fixed for 2.16/2.18 branches. Concerning 2.11, it will be fixed and published a little later, in January, as I promised before.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Feb 2006
Posts: 1
Reply with quote
ddmitrie wrote:
... Concerning 2.11, it will be fixed and published a little later, in January, as I promised before.


Any word on when the fix will be in the 2.11 version?
View user's profileFind all posts by ebourquiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
I'm still working on it and doing my best to get it fixed.
Yet compatibility with gcc v4 is not the only thing to be done.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Compilation fails with GCC4
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic