You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After cloning UCI and editing the CMakeLists.txt file, I then begin to enter cmake ., make, and sudo make install. When I get to the make step, I get this error:
pi@raspberrypi:~/uci/uci $ make
[ 5%] Building C object CMakeFiles/uci.dir/file.c.o
In file included from /home/pi/uci/uci/file.c:34:0:
/home/pi/uci/uci/file.c: In function ‘uci_import’:
/home/pi/uci/uci/uci_internal.h:188:6: error: variable ‘__val’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
int __val = 0;
^
/home/pi/uci/uci/file.c:653:2: note: in expansion of macro ‘UCI_HANDLE_ERR’
UCI_HANDLE_ERR(ctx);
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
CMakeFiles/uci.dir/build.make:86: recipe for target 'CMakeFiles/uci.dir/file.c.o' failed
make[2]: *** [CMakeFiles/uci.dir/file.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/uci.dir/all' failed
make[1]: *** [CMakeFiles/uci.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what I did wrong? I have reviewed my terminal history and as far as I can tell, I have followed your procedure.
Note that at this step I am in the folder ~/uci/uci. Have I made a mistake, should there be a uci folder inside a uci folder?
The text was updated successfully, but these errors were encountered:
After cloning UCI and editing the CMakeLists.txt file, I then begin to enter cmake ., make, and sudo make install. When I get to the make step, I get this error:
pi@raspberrypi:~/uci/uci $ make
[ 5%] Building C object CMakeFiles/uci.dir/file.c.o
In file included from /home/pi/uci/uci/file.c:34:0:
/home/pi/uci/uci/file.c: In function ‘uci_import’:
/home/pi/uci/uci/uci_internal.h:188:6: error: variable ‘__val’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
int __val = 0;
^
/home/pi/uci/uci/file.c:653:2: note: in expansion of macro ‘UCI_HANDLE_ERR’
UCI_HANDLE_ERR(ctx);
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
CMakeFiles/uci.dir/build.make:86: recipe for target 'CMakeFiles/uci.dir/file.c.o' failed
make[2]: *** [CMakeFiles/uci.dir/file.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/uci.dir/all' failed
make[1]: *** [CMakeFiles/uci.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what I did wrong? I have reviewed my terminal history and as far as I can tell, I have followed your procedure.
Note that at this step I am in the folder ~/uci/uci. Have I made a mistake, should there be a uci folder inside a uci folder?
The text was updated successfully, but these errors were encountered: