Building assimp on Win32 (Visual Studio 2019 x86) - cmake

I'm trying to build ROS2 for Win32 and one of the packages imports and builds assimp. Currently I'm having issues with files in the contrib/unzip folder with a lot of syntax errors (see build output below). I guess I need to set the correct compiler version somewhere but I don't know which C compiler is needed or if I need to modifiy/ update the unzip code. Until now I've tried to set different CMAKE_C_COMPILER and CMAKE_CXX_COMPILER (which should be irrelevant because unzip only contains C code...right?) in assimp's CMakeList but I didn't get anywhere with that.
I'm compiling assimp in a Visual Studio 2019 x86 Command Prompt with the cmake flag -A Win32. Full command is colcon build --cmake-args -A WIN32 --packages-select rviz_assimp_vendor.
I'd be glad about any help on this issues because, to be honest, I've only used rather simple CMakeLists in the ROS and ROS2 environment so I don't really know how to move forward.
cl : command line warning D9025: overriding '/W1' with '/w' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
cl : command line warning D9025: overriding '/W1' with '/w' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
cl : command line warning D9025: overriding '/W1' with '/w' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
cl : command line warning D9025: overriding '/W1' with '/w' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
ioapi.c
unzip.c
zip.c
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(150,18): error C2143: syntax error: missing ';' before '*' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(150,18): error C2059: syntax error: '*' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(152,1): error C2059: syntax error: '}' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(35,60): error C2143: syntax error: missing ')' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(35,60): error C2143: syntax error: missing '{' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(35,73): error C2059: syntax error: ')' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(36,1): error C2054: expected '(' to follow 'pcrc_32_tab' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(48,58): error C2143: syntax error: missing ')' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(48,58): error C2143: syntax error: missing '{' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(48,76): error C2059: syntax error: 'type' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(48,77): error C2059: syntax error: ')' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(65,76): error C2143: syntax error: missing ')' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(65,76): error C2143: syntax error: missing '{' before '*' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(65,89): error C2059: syntax error: ')' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\crypt.h(66,1): error C2054: expected '(' to follow 'pcrc_32_tab' (compiling source file C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c) [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(401,11): error C2065: 'unz_s': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(401,11): error C2146: syntax error: missing ';' before identifier 'us' [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(401,13): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(402,11): error C2065: 'unz_s': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(402,13): error C2065: 's': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(419,32): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(419,33): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(419,28): error C2198: 'fill_fopen_filefunc': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(421,11): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(421,12): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,7): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,8): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,25): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,26): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,52): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(423,53): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(427,11): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(427,12): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(430,48): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(430,49): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(430,62): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(430,63): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(430,44): error C2198: 'unzlocal_SearchCentralDir': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(435,1): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(435,1): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(435,1): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(439,29): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(439,30): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(439,44): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(439,45): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(439,25): error C2198: 'unzlocal_getLong': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(443,30): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(443,31): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(443,45): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(443,46): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(443,26): error C2198: 'unzlocal_getShort': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(447,30): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(447,31): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(447,45): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(447,46): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(447,26): error C2198: 'unzlocal_getShort': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,30): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,31): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,45): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,46): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,60): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,61): error C2224: left of '.gi' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(451,26): error C2198: 'unzlocal_getShort': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(455,30): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(455,31): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(455,45): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(455,46): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(455,26): error C2198: 'unzlocal_getShort': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(458,29): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(458,30): error C2224: left of '.gi' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,29): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,30): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,44): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,45): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,59): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,60): error C2224: left of '.size_central_dir' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(464,25): error C2198: 'unzlocal_getLong': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,29): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,30): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,44): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,45): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,59): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,60): error C2224: left of '.offset_central_dir' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(469,25): error C2198: 'unzlocal_getLong': too few arguments for call [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,30): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,31): error C2224: left of '.z_filefunc' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,45): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,46): error C2224: left of '.filestream' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,60): error C2065: 'us': undeclared identifier [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]
C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0\contrib\unzip\unzip.c(473,61): error C2224: left of '.gi' must have struct/union type [C:\dev\ros2_foxy_custom\build\rviz_assimp_vendor\assimp-4.1.0-prefix\src\assimp-4.1.0-build\code\assimp.vcxproj]

Building Assimp 4.0.x with VS2019 is not supported. To work with it you have to switch to the latest release 5.0.1. Then the build should work.

Related

Show error when build win32 version Ffmpeg in windows10,How solve it?

I build a win32 version ffmpeg for get the .dll and .lib file in windows10 follow the https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT document, I excuted the command
../../../configure \
--toolchain=msvc \
--disable-programs \
--disable-d3d11va \
--disable-dxva2 \
--arch=x86 \
--enable-shared \
--enable-cross-compile \
--target-os=win32 \
--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" \
--extra-ldflags="-APPCONTAINER WindowsApp.lib" \
--prefix=../../../Build/Windows10/x86
everything work well,after that , I execute the command:
make
it show error:
\Users\LEE\Downloads\ffmpeg-snapshot\ffmpeg\Output\Windows10\x86\config.h: warning C4828: The file contains a character starting at offset 0x2da, which is invalid in the current source character set (code page 65001) .
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(59): error C2143: syntax error: missing ")" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(59): error C2143: syntax error: missing "{" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(60): warning C4228: Non-standard extension used: Ignore the qualifier after the comma in the declarator list
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(60): error C2143: syntax error: missing ";" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2371: “IMFActivate”: redefinition; different base types
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\mfobjects.h(184): note: see the statement of "IMFActivate"
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2143: syntax error: missing ";" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): warning C4142: "UINT32": benign redefinition of types
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of "UINT32"
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2370: “UINT32”: redefinition; different storage class
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of "UINT32"
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2059: syntax error: ")"
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2143: syntax error: missing ")" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2081: "MFT_REGISTER_TYPE_INFO": The name in the formal parameter table is illegal
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2143: syntax error: missing "{" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(167): error C2143: syntax error: missing ";" (before "*")
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(168): error C2059: syntax error: "type"
c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(168): error C2059: syntax error: ")"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(54): error C2143: syntax error: missing ")" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(54): error C2143: syntax error: missing "{" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(55): warning C4228: Non-standard extension used: Ignore the qualifier after the comma in the declarator list
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(55): error C2143: syntax error: missing ";" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2371: “IMFActivate”: redefinition; different base types
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\mfobjects.h(184): note: see the statement of "IMFActivate"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2143: syntax error: missing ";" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): warning C4142: "UINT32": benign redefinition of types
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of "UINT32"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2370: “UINT32”: redefinition; different storage class
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of "UINT32"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2059: syntax error: ")"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(57): error C2054: "(" should be entered after "pnumMFTActivate"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2143: syntax error: missing ")" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2081: "MFT_REGISTER_TYPE_INFO": The name in the formal parameter table is illegal
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2143: syntax error: missing "{" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(585): error C2143: syntax error: missing ";" (before "*")
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(586): error C2059: syntax error: "type"
C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(587): error C2059: syntax error: ")"
make: *** [/c/Users/LEE/Downloads/ffmpeg-snapshot/ffmpeg/ffbuild/common.mak:67: libavcodec/mf_utils.o] Error 2
I don't know why, could you help me,thanks!

Error: Syntax error at 'Boolean'; expected ')' in Artifactory OSS Puppet Module

Trying to use this puppet module, it breaks with syntax error:
Error: Syntax error at 'Boolean'; expected ')' at /etc/puppet/modules/artifactory/manifests/init.pp:6 on node artifactoryserver.openstacklocal
This is how I'm including it in the pp file:
node default { include '::artifactory' }
The line it refers is this one. Any idea of what I'm doing wrong?

Installing TinyECC using Tossim

I firstly install Ubuntu 10.04 using VMWARE on Windows7. I installed TinyOS 2.1.2 and all the thing are going fine. Blink and other examples are working properly. Tossim is also working for these examples. command make micaz sim is build sucessfully.
I have to simulate signtaure algorithm so I want to install TinyECC-2.0 but getting the following error:
sumi#ubuntu:/opt/tinyos-2.1.2/apps/TinyECC-2.0$ make micaz sim
mkdir -p simbuild/micaz
placing object files in simbuild/micaz
writing XML schema to app.xml
compiling testECDSA to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DTOSH_DATA_LENGTH=102 -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DSECP160R1 -DBARRETT_REDUCTION -DHYBRID_MULT -DHYBRID_SQR -DCURVE_OPT -DPROJECTIVE -DSLIDING_WIN -DSHAMIR_TRICK -DIDENT_APPNAME=\"testECDSA\" -DIDENT_USERNAME=\"sumi\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4f41f2b4L -DIDENT_TIMESTAMP=0x5104ea17L -DIDENT_UIDHASH=0x81f6a833L -I/usr/include/python2.6 -Wno-nesc-data-race testECDSA.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
NNM.nc: In function ‘NNM$NN_SubDigitMult’:
NNM.nc:3278: error: can't find a register in class ‘CLOBBERED_REGS’ while reloading ‘asm’
NNM.nc:3278: error: ‘asm’ operand has impossible constraints
NNM.nc: In function ‘NNM$NN_Sub’:
NNM.nc:367: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:367: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Sqr’:
NNM.nc:1775: error: unknown register name ‘r29’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r28’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r27’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r26’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r25’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r24’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r19’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r17’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r16’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r15’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r14’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r13’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r12’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r11’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r10’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r9’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r8’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r7’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r6’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r5’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r4’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r3’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r1’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r0’ in ‘asm’
secp160r1.nc: In function ‘secp160r1$CurveParam$omega_mul’:
secp160r1.nc:357: error: unknown register name ‘r29’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r28’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r27’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r26’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r25’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r19’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r17’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r16’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r15’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r14’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r13’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r12’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r11’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r10’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r9’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r8’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r7’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r6’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r5’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r4’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r3’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r2’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r1’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Add’:
NNM.nc:273: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:273: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Mult’:
NNM.nc:875: error: unknown register name ‘r25’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r24’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r22’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r21’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r20’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r19’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r18’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r17’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r16’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r15’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r14’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r13’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r12’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r11’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r10’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r9’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r8’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r6’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r5’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r4’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r3’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r1’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r0’ in ‘asm’
make: *** [sim-exe] Error 1
sumi#ubuntu:/opt/tinyos-2.1.2/apps/TinyECC-2.0$
IS there any one working on this???
According to the docs (http://discovery.csc.ncsu.edu/software/TinyECC/README.txt):
There are some inline assembly code in NNM.nc to speed up natural
number operations. The inline assembly code is written for
Atmega128l(MICAz), MSP430(TelosB/Tmote Sky), and XScale(Imote2). If
you want to use TinyECC for other platforms, you must comment
"#define INLINE_ASM" in NN.h or implement your own inline assembly
code.
Unless you are prepared to write your own inline asm, I'd look at changing the define for INLINE_ASM.

Xcode errors with libgcrypt

In my program, I originally added json-c to it and had some missing dependencies related to libgcrypt. Now, I am getting these errors for libgcrypt that do not make any sense to me. Has anyone seen these before or are able to tell what in the world I did wrong?
CompileC /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/Objects-normal/x86_64/mpih-add1-4D47DD99C77BE382.o PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S normal x86_64 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jordan/Projects/Cocoa/PianoLounge
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x assembler-with-cpp -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wshorten-64-to-32 -Wno-newline-eof -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/PianoLounge-generated-files.hmap -I/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/PianoLounge-own-target-headers.hmap -I/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/PianoLounge-all-target-headers.hmap -iquote /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/PianoLounge-project-headers.hmap -I/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Products/Debug/include -I/usr/local/include -I/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/DerivedSources/x86_64 -I/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/DerivedSources -F/Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Products/Debug -MMD -MT dependencies -MF /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/Objects-normal/x86_64/mpih-add1-4D47DD99C77BE382.d --serialize-diagnostics /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/Objects-normal/x86_64/mpih-add1-4D47DD99C77BE382.dia -c /Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S -o /Users/jordan/Library/Developer/Xcode/DerivedData/PianoLounge-ajgojrzszrergafgvyuliphwxcpg/Build/Intermediates/PianoLounge.build/Debug/PianoLounge.build/Objects-normal/x86_64/mpih-add1-4D47DD99C77BE382.o
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:33:16: error: unexpected token in '.set'
.set noreorder
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:34:11: error: unexpected token in '.set'
.set noat
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:38:2: error: unknown directive
.ent _gcry_mpih_add_n
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:40:2: error: unknown directive
.frame $30,0,$26,0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:42:11: error: unexpected token in memory operand
ldq $3,0($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:43:11: error: unexpected token in memory operand
ldq $4,0($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:45:13: error: invalid operand for instruction
subq $19,1,$19
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:46:2: error: unknown use of instruction mnemonic without a size suffix
and $19,4-1,$2 # number of limbs in first loop
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:47:2: error: invalid instruction mnemonic 'bis'
bis $31,$31,$0
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:48:2: error: invalid instruction mnemonic 'beq'
beq $2,.L0 # if multiple of 4 limbs, skip first loop
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:50:11: error: invalid operand for instruction
subq $19,$2,$19
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:52:19: error: invalid operand for instruction
.Loop0: subq $2,1,$2
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:53:11: error: unexpected token in memory operand
ldq $5,8($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:54:10: error: invalid operand for instruction
addq $4,$0,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:55:11: error: unexpected token in memory operand
ldq $6,8($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:56:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:57:10: error: invalid operand for instruction
addq $3,$4,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:58:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$3,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:59:11: error: unexpected token in memory operand
stq $4,0($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:60:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:62:13: error: invalid operand for instruction
addq $17,8,$17
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:63:13: error: invalid operand for instruction
addq $18,8,$18
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:64:2: error: invalid instruction mnemonic 'bis'
bis $5,$5,$3
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:65:2: error: invalid instruction mnemonic 'bis'
bis $6,$6,$4
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:66:13: error: invalid operand for instruction
addq $16,8,$16
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:67:2: error: invalid instruction mnemonic 'bne'
bne $2,.Loop0
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:69:6: error: invalid instruction mnemonic 'beq'
.L0: beq $19,.Lend
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:72:19: error: invalid operand for instruction
.Loop: subq $19,4,$19
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:74:11: error: unexpected token in memory operand
ldq $5,8($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:75:10: error: invalid operand for instruction
addq $4,$0,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:76:11: error: unexpected token in memory operand
ldq $6,8($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:77:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:78:10: error: invalid operand for instruction
addq $3,$4,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:79:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$3,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:80:11: error: unexpected token in memory operand
stq $4,0($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:81:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:83:12: error: unexpected token in memory operand
ldq $3,16($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:84:10: error: invalid operand for instruction
addq $6,$0,$6
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:85:12: error: unexpected token in memory operand
ldq $4,16($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:86:2: error: invalid instruction mnemonic 'cmpult'
cmpult $6,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:87:10: error: invalid operand for instruction
addq $5,$6,$6
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:88:2: error: invalid instruction mnemonic 'cmpult'
cmpult $6,$5,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:89:11: error: unexpected token in memory operand
stq $6,8($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:90:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:92:12: error: unexpected token in memory operand
ldq $5,24($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:93:10: error: invalid operand for instruction
addq $4,$0,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:94:12: error: unexpected token in memory operand
ldq $6,24($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:95:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:96:10: error: invalid operand for instruction
addq $3,$4,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:97:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$3,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:98:12: error: unexpected token in memory operand
stq $4,16($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:99:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:101:12: error: unexpected token in memory operand
ldq $3,32($17)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:102:10: error: invalid operand for instruction
addq $6,$0,$6
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:103:12: error: unexpected token in memory operand
ldq $4,32($18)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:104:2: error: invalid instruction mnemonic 'cmpult'
cmpult $6,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:105:10: error: invalid operand for instruction
addq $5,$6,$6
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:106:2: error: invalid instruction mnemonic 'cmpult'
cmpult $6,$5,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:107:12: error: unexpected token in memory operand
stq $6,24($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:108:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:110:14: error: invalid operand for instruction
addq $17,32,$17
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:111:14: error: invalid operand for instruction
addq $18,32,$18
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:112:14: error: invalid operand for instruction
addq $16,32,$16
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:113:2: error: invalid instruction mnemonic 'bne'
bne $19,.Loop
^~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:115:16: error: invalid operand for instruction
.Lend: addq $4,$0,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:116:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$0,$1
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:117:10: error: invalid operand for instruction
addq $3,$4,$4
^~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:118:2: error: invalid instruction mnemonic 'cmpult'
cmpult $4,$3,$0
^~~~~~
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:119:11: error: unexpected token in memory operand
stq $4,0($16)
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:120:2: error: unknown use of instruction mnemonic without a size suffix
or $0,$1,$0
^
/Users/jordan/Projects/Cocoa/PianoLounge/PianoLounge/libgcrypt/mpi/alpha/mpih-add1.S:123:2: error: unknown directive
.end _gcry_mpih_add_n
^
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I made sure to only include the needed files (.h and .c) and it cleared up the errors I was receiving, but now I am back to receiving the linker errors.
http://pastebin.com/VM0aBU1m
in the previous question you asked (an hour ago?) you said you copied the whole libgcrypt folder wholesale (i.e. entirely) into your current project. From what I can tell up there, Xcode is spewing errors on a file that ends with the suffix ".S". Xcode doesn't know what to do with them. And I don't know what they are.
Really, all you need is to include into your project are the files from libgcrypt that are appropriate for what you are trying to do.
That likely being... "include" or "import" header files that end with the suffix ".h", the actual ".framework" or ".a" or ".dylib" library files.
That's it.
If my answer doesn't get you to your solution, please edit your question to show a screenshot of what your project looks like in Xcode, and especially how those included files look in the File Inspector.
Wow, I'm an idiot. I don't know why I felt the need to add these libraries in manually. I ended up using MacPorts to get the required libraries and it worked great.

Error building mono in scratchbox [duplicate]

This question already has answers here:
Cross compile mono for arm
(2 answers)
Closed 8 years ago.
I tried to compile mono for arm in scratchbox on Ubuntu 11.10. But when I make install I got an error message.
[sbox-ARMEL:~] ./configure --enable-minimal=profiler,debug,logging,soft_debug --with-tls=--with-tls=__thread --with-monotouch=no --without-mcs-docs --disable-mono-debugger CFLAGS=-DARM_FPU_NONE --disable-mcs-build
[sbox-ARMEL:~] make
[sbox-ARMEL:~] make install
I get this error:
make[2]: Entering directory `/home/johannes/mono-2.10.2/mono/mini'
CC genmdesc-genmdesc.o
In file included from mini.h:39,
from genmdesc.c:9:
mini-unwind.h:106: error: expected declaration specifiers or '...' before 'mgreg_t'
mini-unwind.h:107: error: expected declaration specifiers or '...' before 'mgreg_t'
In file included from genmdesc.c:9:
mini.h:741: error: expected specifier-qualifier-list before 'mgreg_t'
In file included from genmdesc.c:9:
mini.h:1843: error: expected ')' before '*' token
mini.h:1848: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:1923: error: expected ')' before '*' token
mini.h:1924: error: expected ')' before '*' token
mini.h:1925: error: expected ')' before '*' token
mini.h:1926: error: expected ')' before '*' token
mini.h:1928: error: expected ')' before '*' token
mini.h:1930: error: expected ')' before '*' token
mini.h:1931: error: expected ')' before '*' token
mini.h:1932: error: expected ')' before '*' token
mini.h:1933: error: expected ')' before '*' token
mini.h:2061: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2084: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2092: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2093: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2094: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2096: error: expected ')' before '*' token
mini.h:2100: error: expected ')' before '*' token
mini.h:2101: error: expected ')' before '*' token
mini.h:2105: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2138: error: expected ')' before '*' token
mini.h:2148: error: expected declaration specifiers or '...' before 'mgreg_t'
make[2]: *** [genmdesc-genmdesc.o] Error 1
make[2]: Leaving directory `/home/johannes/mono-2.10.2/mono/mini'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/johannes/mono-2.10.2/mono'
make: *** [install-recursive] Error 1
Knows anyone this error or what I have done wrong?
Get source file from Git because your mini.h and mini-unwind.h file doesn't match the Git one.
https://github.com/mono/mono/blob/master/mono/mini/mini.h