Error during DWARFAnalyzer import: Only DWARF version 2, 3, or 4 information is currently supported (detected 5) - dwarf

After installing Ghidra 10.2.2 and Java 17, Ghidra is unable to analyse binaries and throws error:
Error during DWARFAnalyzer import: Only DWARF version 2, 3, or 4 information is currently supported (detected 5).
Can you help please ?

Related

An error produced by installing an R package that is no longer available in the CRAN repository

The R package 'mixer' is not available in the CRAN repository. I am trying to install it in R following similar examples (see the link Install the package that has been removed from the CRAN repository easily). I am using R version 4.2.1 and have installed RTools42 on my computer (windows) and further installed 'devtools' and 'Rcpp' and invoked them from the library. To install 'mixer' I used the line of code:
install_url('https://cran.r-project.org/src/contrib/Archive/mixer/mixer_1.9.tar.gz')
but it produces the following error message
367 | call dvout (logfil, 1, rnorm0, ndigit,
| 2
......
404 | call dvout (logfil, n, resid, ndigit,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and
rank-1)
make: *** [C:/Users/YYY/AppData/Local/Programs/R/R-42~1.1/etc/x64/Makeconf:277: dgetv0.o]
Error 1
ERROR: compilation failed for package 'mixer'
* removing 'C:/Users/YYY/AppData/Local/Programs/R/R-4.2.1/library/mixer'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/YYY/AppData/Local/Temp/Rtmp8AzpuR/file4fd46a5223bc/mixer_1.9.tar.gz’ had non-zero exit status
The code, however, works for similar packages that are not in the CRAN. I have spent sometime trying to resolve this error but all to no avail. Can anyone help me understand this error and how to resolve it. Many thanks for your help.

Upgrading Grails from v3.0 to v3.1 or v3.2

I'm in process of upgrading an app from Grails v2 to v3 .
I got to a point where it works reasonably well with Grails 3.0.17.
I wanted to upgrade it to v3.1 or v3.2. But after changing the version in gradle.properties that's what I get after executing grails run-app:
me#host:[~/](feature/grails3-migration) : grails run-app
| Error Error occurred running Grails CLI: startup failed:
script14867378818131525390840.groovy: 3: unable to resolve class xxx.yyy.CollectorsJob
# line 3, column 1.
import xxx.yyy.jobs.CollectorsJob
^
script14867378818131525390840.groovy: 6: unable to resolve class xxx.yyy.domain.business.Company
# line 6, column 1.
import xxx.yyy.domain.business.Company
^
script14867378818131525390840.groovy: 5: unable to resolve class xxx.yyy.domain.access.User
# line 5, column 1.
import xxx.yyy.domain.access.User
^
...
There's about 15 errors like that printed.
What's the problem here? I've tried clear the project and change the jdk version fro 1.8 -> 1.7. Each time the same result.
If you are referencing application classes in grails-app/conf/application.groovy these will need to be moved to your runtime configuration in grails-app/conf/runtime.groovy
The application.groovy file is parsed by the build system in addition to the runtime so cannot contain references to classes that are not yet compiled

How to build DCMTK 3.6.1 libs for iOS?

I followed Russes' instructions found at http://forum.dcmtk.org/viewtopic.php?f=3&t=3047&start=15
With a fresh copy of his "afab" git branch, I built Xcode project for x86 arch with the command line:
cmake -DIOS_PLATFORM=SIMULATOR64 -G Xcode ../dcmtk.public
or for arm arch with:
cmake -DIOS_PLATFORM=OS -G Xcode ../dcmtk.public
However, my Xcode project can't be successfully built because of, at least, the following errors:
List of Xcode errors on ofchrenc.cc file (for eg. "No class named Implementation in OFCharacterEncoding")
The compilation with Unix makefiles gives the same errors in my case:
Scanning dependencies of target ofstd
0% Building CXX object ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o
dcmtk.public/ofstd/libsrc/ofchrenc.cc:518:28: error: no class named 'Implementation' in 'OFCharacterEncoding'
class OFCharacterEncoding::Implementation {};
dcmtk.public/ofstd/libsrc/ofchrenc.cc:556:31: error: out-of-line definition of 'getLocaleEncoding' does not match any declaration in
'OFCharacterEncoding'
OFString OFCharacterEncoding::getLocaleEncoding()
/usr/local/include/dcmtk/ofstd/ofchrenc.h:97:21: note: member declaration does not match because it is const qualified
const OFString &getLocaleEncoding() const;
[...]
dcmtk.public/ofstd/libsrc/ofchrenc.cc:644:34: error: out-of-line definition of 'setConversionFlags' does not match any declaration in
'OFCharacterEncoding'
OFCondition OFCharacterEncoding::setConversionFlags(const unsigned flags)
19 errors generated.
make 2: ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o Error 1
make 1: ofstd/libsrc/CMakeFiles/ofstd.dir/all Error 2
make: [all] Error 2
I don't understand what is wrong in my configuration:
MacOs Sierra 10.12.2
Xcode 8.2
CMake 3.7.1 (I have the same issue previously with 3.5.2 version)
GNU Make 3.81 (for Unix makefiles compilation)
Apple LLVM version 8.0.0.8000042
Darwin version of host: 16.3.0
Building for minimum iOS version: 10.2 (SDK version: 10.2)
I'm not sure about the first error message but
/usr/local/include/dcmtk/ofstd/ofchrenc.h:97:21: note: member
declaration does not match because it is const qualified const
OFString &getLocaleEncoding() const;
seems to indicate that you are mixing an old version of "ofchrenc.h" (stored in "/usr/local/...") with a more recent version of "ofchrenc.cc" (stored in your working directory).

Build OpenCV binding in Haskell for OpenCV 2.4

I tried to install cv library via cabal (cabal install cv).
But it brings me up an error:
Configuring CV-0.3.7...
Building CV-0.3.7...
Preprocessing library CV-0.3.7...
c2hs: C header contains errors:
dist/build/CV/Video.chs.h:22: (column 39) [ERROR] >>> Unknown identifier!
Cannot find a definition for `CV_CAP_PROP_WHITE_BALANCE_BLUE_U' in the header file.
cabal: Error: some packages failed to install:
CV-0.3.7 failed during the building phase. The exception was:
ExitFailure 1
I have read that it's problem is, that my install opencv is newer than the haskell-library needs it.
My opencv:
local/opencv 2.4.12.2-2
Open Source Computer Vision Library
So how can I fix this error now? Thanks for your help!

Grails / Compilation error when running: "FilterManager.groovy: 1: unexpected char: 0x0 # line 1, column 1

The project I'm trying to run is in Grail 2.3.5 and I upgrade it to 2.4.4 version.
Now, when I trying to run it using my IntelliJ I get this error:
...\target\work\plugins\webxml-1.4.1\src\groovy\grails\plugin\webxml\FilterManager.groovy: 1: unexpected char: 0x0 # line 1, column 1.
Anyone knows how I can fix this?

Resources