Hi Luigi, You got these errors because the names of constants in the enum OWPL_LINESTATE_CAUSE have recently changed.
Before, there were a cause for each kind of SIP event. Now, there is a generic cause for all SIP event. For example, there existed LINESTATE_REGISTERED_NORMAL, LINESTATE_UNREGISTERED_NORMAL, LINESTATE_UNREGISTERING_NORMAL etc. Now, they are all replaced by LINESTATE_CAUSE_NORMAL. Please update the name of these constants in miniua and it should compile. Regards, Minh > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wengophone- > [EMAIL PROTECTED] On Behalf Of Luigi Bancaro > Sent: mardi 22 mai 2007 12:47 > To: [email protected] > Subject: [Wengophone-devel] Re: miniua > > I'm sorry, > > I get this error > > D:\wengophone-2.1\wifo\miniua\miniua.c(362) : warning C4101: "c": > variabile locale senza riferimenti > D:\wengophone-2.1\wifo\miniua\miniua.c(881) : error C2065: > "LINESTATE_REGISTERING_NORMAL": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(881) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(891) : error C2065: > "LINESTATE_REGISTERED_NORMAL": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(891) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(902) : error C2065: > "LINESTATE_UNREGISTERING_NORMAL": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(902) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(912) : error C2065: > "LINESTATE_UNREGISTERED_NORMAL": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(912) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(923) : error C2065: > "LINESTATE_REGISTER_FAILED_COULD_NOT_CONNECT": identificatore non > dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(923) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(927) : error C2065: > "LINESTATE_REGISTER_FAILED_NOT_AUTHORIZED": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(927) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(931) : error C2065: > "LINESTATE_REGISTER_FAILED_TIMEOUT": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(931) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(935) : error C2065: > "LINESTATE_REGISTER_FAILED_NOT_FOUND": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(935) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(947) : error C2065: > "LINESTATE_UNREGISTER_FAILED_COULD_NOT_CONNECT": identificatore non > dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(947) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(950) : error C2065: > "LINESTATE_UNREGISTER_FAILED_NOT_AUTHORIZED": identificatore non > dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(950) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(953) : error C2065: > "LINESTATE_UNREGISTER_FAILED_TIMEOUT": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(953) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(963) : error C2065: > "LINESTATE_PROVISIONED_NORMAL": identificatore non dichiarato > D:\wengophone-2.1\wifo\miniua\miniua.c(963) : error C2051: espressione > case noncostante > D:\wengophone-2.1\wifo\miniua\miniua.c(1085) : warning C4090: > "funzione": qualificatori "const" differenti > D:\wengophone-2.1\wifo\miniua\miniua.c(1086) : warning C4090: > "funzione": qualificatori "const" differenti > D:\wengophone-2.1\wifo\miniua\miniua.c(1343) : warning C4013: > "phSetBusy" non definita. VerrĂ considerata come esterna che restituisce > un int > NMAKE : fatal error U1077: "C:\PROGRA~1\MICROS~1.NET\Vc7\bin\cl.exe" : > codice restituito "0x2" > Stop. > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2" > Stop. > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2" > Stop. > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2" > Stop. > > I think that LINESTATE_REGISTERING_NORMAL is not declared. > > Regards, > > Luigi Bancaro > > > > Luigi Bancaro wrote: > > Hi, > > > > I'm trying to compile miniua with cmake. > > > > Launching cmake miniua I have this error: > > > > D:\wengophone-2.1\wifo\miniua\miniua.c(1723) : error C2198: > > "owplInit": argomenti insufficienti per una chiamata mediante > > puntatore a funzione > > NMAKE : fatal error U1077: "C:\PROGRA~1\MICROS~1.NET\Vc7\bin\cl.exe" : > > codice restituito "0x2" Stop. > > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2"Stop. > > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2" Stop. > > NMAKE : fatal error U1077: ""C:\Programmi\Microsoft Visual Studio .NET > > 2003\VC7\BIN\nmake.exe"" : codice restituito "0x2"Stop. > > > > What is the problem? > > > > Regards > > > > Luigi Bancaro > > > > > > _______________________________________________ > Wengophone-devel mailing list > [email protected] > http://dev.openwengo.com/mailman/listinfo/wengophone-devel _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
