[Ovmsdev] Can't compile due to wolfssh

Chris van der Meijden chris at arachnon.de
Sun May 14 03:14:59 HKT 2023


OK ... I deleted the master from my repo on github ... Did a fresh pull
from OVMS master to my local and then a fresh push from there to a new
master in my github repo.

Compiling does not work, so this will also be the case for anyone
pulling fresh from master.

That is not good ... The OVMS master needs urgently to be restored to a
working repository.

I would also like to suggest to stop experimenting with OVMS master and
use a branch instead untill things are stable.



Am Samstag, dem 13.05.2023 um 19:59 +0200 schrieb Chris van der
Meijden:
> Could you please explain in detail what I need to do?
> 
> I tried to pull the code completely fresh from master. That does not
> work.
> 
> What if a new user tries to compile from scratch? Will they run into
> the same issues?
> 
> 
> 
> Am Samstag, dem 13.05.2023 um 19:32 +0200 schrieb Ludovic LANGE:
> Hi Chris,
> 
> Yes we unfortunately had an issue where we merged, then reverted a
> patch.
> 
> It seems that unfortunately it didn't work for you. Could you try to
> fetch, then reset your git repo to HEAD, it seems you did not fetch
> the "revert" patches ?
> 
> Let us know.
> 
> Le 13/05/2023 à 19:08, Chris van der Meijden a écrit :
> 
> Today I pulled the newest version. During the pull my Wolfssh
> directory was deleted. I then renewed all the submodules and I got
> the newest Wolfssh.
> 
> But now the verion 3.3.003-467-ge7f41bd8-dirty won't compile (why is
> it "dirty" anyways, I didn't change the code ...).
> 
> First I get
> 
> CXX build/console_ssh/src/console_ssh.o
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp: In
> function 'void wolfssh_logger(wolfSSH_LogLevel, const char*)':
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp:1176:10:
> error: enumeration value 'WS_LOG_CERTMAN' not handled in switch [-
> Werror=switch]
> switch (level)
> ^
> 
> Then I add case WS_LOG_CERTMAN: on line 1178:
> 
> static void wolfssh_logger(enum wolfSSH_LogLevel level, const char*
> const msg)
> {
> switch (level)
> {
> case WS_LOG_CERTMAN:
> ...
> 
> But the I run into this error:
> 
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/wolfssh/wolfssh/src/internal.c: In
> function 'IdentifyKey':
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/wolfssh/wolfssh/src/internal.c:883:9:
> warning: unused variable 'dynType' [-Wunused-variable]
> int dynType = isPrivate ? DYNTYPE_PRIVKEY : DYNTYPE_PUBKEY;
> ^
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/wolfssh/wolfssh/src/internal.c: In
> function 'DoKexDhReply':
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/wolfssh/wolfssh/src/internal.c:3947:17:
> error: implicit declaration of function 'PRIVATE_KEY_UNLOCK' [-
> Werror=implicit-function-declaration]
> PRIVATE_KEY_UNLOCK();
> ^
> /home/chris/OVMS/Open-Vehicle-Monitoring-System-
> 3/vehicle/OVMS.V3/components/wolfssh/wolfssh/src/internal.c:3952:17:
> error: implicit declaration of function 'PRIVATE_KEY_LOCK' [-
> Werror=implicit-function-declaration]
> PRIVATE_KEY_LOCK();
> ^
> 
> Any ideas?
> 
> Regards Chris
> 
> 
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20230513/e69d864b/attachment.htm>


More information about the OvmsDev mailing list