RE: SDK-Debug

"Alexander Gdalevich" <[email protected]> Mon, 17 May 2004 07:58:03 -0400
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <[email protected]>
DEBUG is a compiler flag.  Look in your makefile and make sure you pass the 
-DDEBUG flag to the gcc.





----------------------------------------------------------------
"Normal people ... believe that if it ain't broke, don't fix it. Engineers 
believe that if it ain't broke, it doesn't have enough features yet."





>From: "aitor rodriguez" <[email protected]>
>To: [email protected]
>Subject: [UPnP-SDK-discuss] SDK-Debug
>Date: Mon, 17 May 2004 09:50:49 +0200
>
>Hi,
>
>I have problems when running the example provided with the SDK in an
>ARM processor. The program starts and fails to initialize the UPnP
>stack returning the -203 error code.
>
>My problem is that I can´t find where the program is failing because it
>doesn't display enough information. I have read the source code and I
>have seen that there are lines of code for debugging. Those lines
>usually print useful program information that could be interesting for
>me to find the cause of the error. Normally those lines uses the macro
>DEBUGONLY(x) where x is the code you want to execute. This macro is
>thefined in the following way:
>
>#ifdef DEBUG
>#define DEBUGONLY(x)     x
>#elseif
>#define DEBUGONLY(x)
>
>My question is about where I need to define the constant DEBUG. I have
>tried to build the SDK with the flag DEBUG=1 but the result is the same
>although the libraries generated size is grater.
>
>I'd be grateful if you could answer my question, or if you could give
>me another idea about the resolution of my problem.
>
>Best regards,
>
>Aitor Rodriguez
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: SourceForge.net Broadband
>Sign-up now for SourceForge Broadband and get the fastest
>6.0/768 connection for only $19.95/mo for the first 3 months!
>http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
>_______________________________________________
>UPnP-SDK-discuss mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click