Vadim,

right on spot again!

> I think that if you would look at the line 1929 of build.gradle then 
> probably there is a line
> linkParams.addAll(LINUX.launcher.linkFlags)
> so when you removed the line from the linux.gradle the linkFlags
> field became null hence the error.
> So maybe you should remove only "-ldl", not the whole line like this:
> LINUX.launcher.linkFlags = [];

Of course - how stupid of me.

We're one step further, entering the lovely c++ compatibility problems:

$ gradle sdk
[...]
:fxpackager:compileLinuxLibraryIn file included from 
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Lock.h:37,
                 from 
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Lock.cpp:34:
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:161:
 error: expected ',' or '...' before 'Application'
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:162:
 error: ISO C++ forbids declaration of 'TString' with no type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:164:
 error: 'TProcessID' does not name a type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:216:
 error: expected ',' or '...' before 'Key'
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:216:
 error: ISO C++ forbids declaration of 'TString' with no type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:225:
 error: expected ',' or '...' before 'SectionName'
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:225:
 error: ISO C++ forbids declaration of 'TString' with no type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:226:
 error: expected ',' or '...' before 'SectionName'
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:226:
 error: ISO C++ forbids declaration of 'TString' with no type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:227:
 error: expected ',' or '...' before 'SectionName'
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:227:
 error: ISO C++ forbids declaration of 'TString' with no type
/tmp/rt-b41445afa464/modules/fxpackager/src/main/native/library/common/Platform.h:253:
 error: 'TString' has not been declared

The above rant goes on, complaining of the same issues for every (?) 
file in modules/fxpackager/src/main/native/library/common.

Looking at Lock.cpp and others, I can not find a clear reason nor a 
solution to the problems.

- Jyri
--
Turvamies IT Security Services

Reply via email to