multiple definition of | developer.brewmp.com multiple definition of | developer.brewmp.com

Developer

multiple definition of

Forums:

Hello everyone,
I am trying to compile my code with BREW 2.1.3 but I get a lot of " multiple definition of" regarding "ISOCKET_" function calls.

Has anyone else had this issue converting from 2.0.x to 2.1.3?

Does anyone have any solutions for this?

I have looked at the following thread but the suggested solution doesn't work for me for some reason.
http://brewforums.qualcomm.com/showthread.php?t=8810

Any help would be greatly appreciated.

Thank you,
Ali

This is something to do with your inclusion of header file, Both AEEWeb as well AEENet using same function, where AEEWeb inherited from AEENet.
Try changing the order of include such a way that AEENet comes first then the AEEWeb.

This is something to do with your inclusion of header file, Both AEEWeb as well AEENet using same function, where AEEWeb inherited from AEENet.
Try changing the order of include such a way that AEENet comes first then the AEEWeb.

Thank you so much Bru.
I will give that a try but for now I was able to replace all "__Inline" commands with "static __Inline" in AEENet.h and that fixed the compiling problems. However, I am not going to have access to the actual handset until Jan. 2nd so I will just have to test your solution as well as mine on Tuesday.
Again thank you for your suggestion,
Ali

Thank you so much Bru.
I will give that a try but for now I was able to replace all "__Inline" commands with "static __Inline" in AEENet.h and that fixed the compiling problems. However, I am not going to have access to the actual handset until Jan. 2nd so I will just have to test your solution as well as mine on Tuesday.
Again thank you for your suggestion,
Ali

Hey Bru,
I just tried your suggestion after undoing my fix and I got all the same errors again. Hopefully my fix will not cause any issues on the handset :)
Again thank you for your suggestion.
Ali

Hey Bru,
I just tried your suggestion after undoing my fix and I got all the same errors again. Hopefully my fix will not cause any issues on the handset :)
Again thank you for your suggestion.
Ali