I want to isntall winexe on Ubuntu 13.1 32bit version.
I did exactly after this guide: Winexe - aldeid
If I execute the command "make basics bin/winexe" there occurs the following error:
Compiling ../librpc/idl/atsvc.idl
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse ../librpc/idl/atsvc.idl at ./../pidl/pidl line 608.
make: *** [idl] Error 1
I have absolutely no idea how to fix this.
I would be even satisfied with a solution suggestion to this problem.
Thank you.
make "CPP=gcc -E -ffreestanding" basics bin/winexe works around this error.
I found "another" way to isntall winexe.
ubuntu forum
The Donwload-Links to the static version (just unzip and run winexe) are working at the moment (on some other pages they didn't).
I still don't know why the error above occurs, if anybody knows it, please tell me anyway. I am still interessted.
VERY IMPORTANT EDIT: After restart winexe gives put an Internal Error signal 11
So I still need a solution for winexe. Either to isntall the verision from git or to fix this error.
EDIT nummber 2: OK, why am I sking questions if I answer them by myself?
The installation form the quide mentiond in my question qorks fine on Ubuntu 12 LTS and winexe-static-version is also ok if you don't make typing errors as I did.
Related
I am trying to build a plugin that is destined to work specifically on Windows systems.
So as a starting point I wanted to rebuild the agent from sources before extending it with my code but while following the guide at https://www.zabbix.com/documentation...zabbix-agent-2, I am having an error.
The error that is popping up is:
c:\Users\<my-username>\Documents\zabbix-6.2.2\build\mingw>mingw32-make PCRE=c:\dev\pcre OPENSSL=c:\dev\openssl
windres.exe c:\Users\<my-username>\Documents\zabbix-6.2.2\build\mingw\..\..\build\win32\project\resource.rc --input-format=rc -O coff --target=pe-x86-64 -D _WINDOWS -D ZABBIX_AGENT2 -o c:\Users\<my-username>\Documents\zabbix-6.2.2\build\mingw\..\..\src\go\cmd\zabbix_agent2\resource.syso
windres.exe: c:\\Users\\<my-username>\\Documents\\zabbix-6.2.2\\build\\mingw\\..\\..\\build\\win32\\project\\resource.rc:75: syntax error
mingw32-make: *** [Makefile:188: c:\Users\<my-username>\Documents\zabbix-6.2.2\build\mingw\..\..\src\go\cmd\zabbix_agent2\resource.syso] Error 1
This appears to be a syntax error in the resource.rc file but after googling a bit a have no idea on how to fix the file.
If anyone can provide advice or help of any kind that would be much appreciated cause I am kind of stuck right now and can not move forward in my work cause of this compilation issue.
Thanks upfront to everyone !
Link of the resources I used:
I did a git clone https://git.zabbix.com/scm/zbx/zabbix.git --branch 6.2.2 --depth 1 --single-branch zabbix-6.2.2 from this guide (https://www.zabbix.com/documentation...ilt_in_plugins)
Go: https://dl.google.com/go/go1.19.3.windows-amd64.msi
MniGW compiler: jztkft.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/sjlj/x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0.7z
CMAKE: github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-windows-x86_64.msi
OpenSSL: netix.dl.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v10.0.0.zip
PCRE: altushost-swe.dl.sourceforge.net/project/pcre/pcre/8.45/pcre-8.45.zip
I tried to switch to the zabbix 6.2 branch and editing the resource.rc file by removing everything from and below the line 75 that appears to be in error but I honestly don't really know what is wrong in the file or how to fix it at all.`
I was following along with a tutorial and had to use SQLite since it was beginner-friendly after everything while running the command go run main.go I'm getting an error telling
# github.com/mattn/go-sqlite3
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in
not sure if this is caused by SQLite or something, so some help would be appreciated,also I'll put the link below of the code since IDK where it is causing the problem
https://github.com/bavan172/Golang-Fiber_crm-basic
you can give a try to a CGo-free port of sqlite: https://pkg.go.dev/modernc.org/sqlite
I tried to run an incompletely installed program and then received this error. Is there anyway to solve this without the official installer? As far as I understand it, it's missing some registry entries. Can I fix this using information from the error log below?
The error log :
https://pastebin.com/VL5ps2hw
Thanks
When I try to run the software, I get this error as well:
Error Number:5. Error Source: mscorlib. This is error in paint 1.
Im trying yo install bazel-0.8.0 in my raspberry pi 3, but when i compile bazel, after an hour, through me an error. The specific error i think is package-bazel.sh zip: doesnt found. I follow the instruction of this video "https://www.youtube.com/watch?v=WqCnW_2XDw8", and i do all the things like the video, but i cant fix that error that appears to me. Anybody know why i get that error?
This is the exactly error i get:
It seems as the programm zip is not installed. Please try to execute the command line to install all prerequisits as mentioned here https://docs.bazel.build/versions/master/install-compile-source.html#unix-like-systems
I've been trying for half an hour following this simple guide http://www.perfdynamics.com/Tools/PDQcode.html#tth_sEc1.1.1
It simply throws this error:
> install.packages("C:\\Users\\Neven\\Downloads\\pdq_6.0-1.tar.gz",repos=NULL,type="source")
Warning: invalid package 'C:/Users/Neven/Downloads/pdq_6.0-1.tar.gz'
Error: ERROR: no packages specified
Warning messages:
1: running command '"C:/PROGRA~1/R/R-30~1.2/bin/x64/R" CMD INSTALL -l "C:\ProgramFiles\R\R-3.0.2\library" "C:/Users/Neven/Downloads/pdq_6.0-1.tar.gz"' had status 1
2: In install.packages("C:\\Users\\Neven\\Downloads\\pdq_6.0-1.tar.gz", :
installation of package ‘C:/Users/Neven/Downloads/pdq_6.0-1.tar.gz’ had non-zero exit status
I've been searching for an answer on the website, trying different things but nothing did it.
I was copy/pasting the command from their documentation and it seems their documentation is out of date.
The command is:
install.packages("C:\\Users\\Neven\\Downloads\\pdq_6.0-1.tar.gz",repos=NULL,type="source")
Since there's a new version of R (6.1-1), it should be:
install.packages("C:\\Users\\Neven\\Downloads\\pdq_6.1-1.tar.gz",repos=NULL,type="source")
Really stupid mistake, but that's what solved the problem.