|
#1
|
||||
|
||||
|
I'm trying to build the Podcatcher application under Symbian^3 and I'm running into a build error:
Code:
FAILED win32compile2object for winscw_urel: ..\engine\src\HttpEventHandler.cpp mmp: ..\engine\group\engine.mmp Y:\epoc32\include\comms-infras\commsdebugutility.h:49: object 'KLogBufferSize' redefined Y:\epoc32\include\comms-infras\commsdebugutility.h:49: (included from: Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\cfextras.h:26 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\elements\sd_thread.h:24 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\elements\sd_std.h:27 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\comms-infras\api_ext_msg.h:25 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\comms-infras\es_mobility_apiext.h:28 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\epoc32\include\comms-infras\cs_mobility_apiext.h:24 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\sf\incubator\podcatcher\engine\inc\connectionengine.h:27 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\sf\incubator\podcatcher\engine\inc\Httpclient.h:26 Y:\epoc32\include\comms-infras\commsdebugutility.h:49: Y:\sf\incubator\podcatcher\engine\src\HttpEventHandler.cpp:25) |
|
#2
|
||||
|
||||
|
I haven't come across this problem myself, but its likely that it's also defined elsewhere in a header that's being pulled in from somewhere else?
There are some likely candidates here, although I couldn't say which one is the problem: http://developer.symbian.org/xref/os...ject=/Symbian3 I would try renaming one of the instances; "KLogBufferSize" is a bit generic as variable names go! |
|
#3
|
||||
|
||||
|
By renaming the KLogBufferSize in commsdebugutils.h, I can (obviously) remove this issue. It's a bit crap that I have to go hacking the OS code to get an app to build, but hey - at least it's an option!
|
|
#4
|
||||
|
||||
|
I think this is because public headers are using CDU and flogger together.
See discussion in bug1512 : http://developer.symbian.org/bugs/show_bug.cgi?id=1512 |
|
#5
|
||||
|
||||
|
Yes, I realised this after renaming KLogBufferSize and then running into RFileLogger redefined! So in fact others are having this issue, and in precisely the same way as I am!
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|