#15992 Not compiling - Minizip issue

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Robert28
Posts: 21
Joined: Friday 05 January 2018 20:09
Target OS: Linux
Domoticz version: 2024.4
Contact:

#15992 Not compiling - Minizip issue

Post by Robert28 »

Hi all,

trying to compile a newer version of Domoticz (now running self compiled 2024.4 #15960) but I encounter an error:

Code: Select all

>make
[  0%] Building C object extern/minizip/CMakeFiles/minizip.dir/zip.c.o
/home/user/DomoticzSRC/domoticz/extern/minizip/zip.c: In function ‘zipOpenNewFileInZip4_64’:
/home/user/DomoticzSRC/domoticz/extern/minizip/zip.c:1248:28: Error: assignment to ‘const long unsigned int *’ from incompatible pointer type ‘const uint32_t *’ {aka ‘const unsigned int *’} [-Wincompatible-pointer-types]
 1248 |         zi->ci.pcrc_32_tab = get_crc_table();
      |                            ^
make[2]: *** [extern/minizip/CMakeFiles/minizip.dir/build.make:104: extern/minizip/CMakeFiles/minizip.dir/zip.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:855: extern/minizip/CMakeFiles/minizip.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
The cmake command:

Code: Select all

cmake -DOPENSSL_INCLUDE_DIR=/usr/include/openssl  -DOPENSSL_SSL_LIBRARY=/lib64/libssl.so -DOPENSSL_CRYPTO_LIBRARY=/lib64/libcrypto.so  -DCMAKE_INSTALL_PREFIX:PATH=/opt/domoticz ../. 
Running on Fedora 40...

Any advice?

BR,
R
Robert28
Posts: 21
Joined: Friday 05 January 2018 20:09
Target OS: Linux
Domoticz version: 2024.4
Contact:

Re: #15992 Not compiling - Minizip issue

Post by Robert28 »

Nobody? :cry:
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest