NuSphere Forums Forum Index
NuSphere Forums
Reply to topic


Joined: 21 Oct 2005
Posts: 2
Reply with quote
FYI, I have exactly the same error that dealmaker found when compiling from sources against php5.1.0RC2-dev, built on Oct 9th.

/tmp/dbg-2.11.32/dbg_cmd.c: In function 'dbg_get_context_sym_table':
/tmp/dbg-2.11.32/dbg_cmd.c:575: error: invalid lvalue in assignment
make: *** [dbg_cmd.lo] Error 1

Luis
View user's profileFind all posts by lmpmbernardoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
open php_dbg.h, locate LLIST_FOREACH macros and remove (void *) from this data = (void *)&(item->data); assignment.
Seems this problem happens b'ze of gcc4.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Oct 2005
Posts: 2
Reply with quote
Please note that I, too, am receiving the same errors. I have tried removing that (void *) text from that one macro as suggested, but it did not seem to work. I still receive the same error message.

Can you be a little more specific with exactly how to edit it? Perhaps a before and after example? Was I to leave the ampersand outside of the parentheses? Etc
View user's profileFind all posts by jadeloisSend private message


Joined: 22 Oct 2005
Posts: 2
Reply with quote
I was able to get it working correctly by using GCC3 instead of 4...
View user's profileFind all posts by jadeloisSend private message


Joined: 21 Oct 2005
Posts: 2
Reply with quote
what OS do you have with gcc3? I have Fedora4 but it comes with gcc4 only. I thought I could yum gcc3 but I don't see how.
View user's profileFind all posts by lmpmbernardoSend private message
Does DBG 2.11.32 support PHP 5.0.4?
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 2 of 2  

  
  
 Reply to topic