SDK-Debug

"aitor rodriguez" <[email protected]> Mon, 17 May 2004 09:50:49 +0200
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <[email protected]>
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