Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » No such file or directory
No such file or directory [message #1851723] Wed, 13 April 2022 17:28 Go to next message
Sho Yamamoto is currently offline Sho YamamotoFriend
Messages: 2
Registered: April 2022
Junior Member
Hi, thank you for visiting my post.
As the title says, I'm in trouble solving "No such file or directory".

I tried to build a relatively huge project with more than 200 cc and c files(TensorFlow Lite for Micro + CMSIS) but in the linking stage, I encountered sticky error, "No such file or directory".

Here is my tools I used.

OS: Windows 10
IDE: Eclipse 2022-03 (4.23.0)
Compiler: Cygwin gcc g++ 11.2.0-1
(Please suggest any other items if the information is not enough)

The log is (only linker log)

Quote:

Invoking: Cygwin C++ Linker
g++ -nostartfiles -nodefaultlibs -nostdlib -s -o "SSD.exe" ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q15.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q7.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_s8.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_u8.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_with_batch_q7.o ./src/third_party/CMSIS/NN/Source/SVDFunctions/arm_svdf_s8.o ./src/third_party/CMSIS/NN/Source/ReshapeFunctions/arm_reshape_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_avgpool_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_max_pool_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_pool_q7_HWC.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_accumulate_q7_to_q15.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_add_q7.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_padded_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_1x_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_4x_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q15.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q7.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_svdf_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nntables.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_no_shift.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_no_shift.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_with_offset.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_with_offset.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1_x_n_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_HWC_q7_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_s8_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_basic.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_RGB.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_wrapper_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_3x3_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8_opt.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_u8_basic_ver1.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_wrapper_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_depthwise_conv_s8_core.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_s8_s16.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_s8_s16_reordered.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_s8.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_w.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_x.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_y.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_z.o ./src/third_party/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s8.o ./src/third_party/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_mul_s8.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q15.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q7.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu6_s8.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu_q15.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu_q7.o ./src/tensorflow/lite/schema/schema_utils.o ./src/tensorflow/lite/micro/models/ssd_mobilenet_model_data.o ./src/tensorflow/lite/micro/memory_planner/greedy_memory_planner.o ./src/tensorflow/lite/micro/memory_planner/linear_memory_planner.o ./src/tensorflow/lite/micro/memory_planner/non_persistent_buffer_planner_shim.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/add.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/conv.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/depthwise_conv.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/fully_connected.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/mul.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/pooling.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/softmax.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/svdf.o ./src/tensorflow/lite/micro/kernels/activations.o ./src/tensorflow/lite/micro/kernels/activations_common.o ./src/tensorflow/lite/micro/kernels/add_common.o ./src/tensorflow/lite/micro/kernels/add_n.o ./src/tensorflow/lite/micro/kernels/arg_min_max.o ./src/tensorflow/lite/micro/kernels/assign_variable.o ./src/tensorflow/lite/micro/kernels/batch_to_space_nd.o ./src/tensorflow/lite/micro/kernels/call_once.o ./src/tensorflow/lite/micro/kernels/cast.o ./src/tensorflow/lite/micro/kernels/ceil.o ./src/tensorflow/lite/micro/kernels/circular_buffer.o ./src/tensorflow/lite/micro/kernels/circular_buffer_common.o ./src/tensorflow/lite/micro/kernels/comparisons.o ./src/tensorflow/lite/micro/kernels/concatenation.o ./src/tensorflow/lite/micro/kernels/conv_common.o ./src/tensorflow/lite/micro/kernels/cumsum.o ./src/tensorflow/lite/micro/kernels/depth_to_space.o ./src/tensorflow/lite/micro/kernels/depthwise_conv_common.o ./src/tensorflow/lite/micro/kernels/dequantize.o ./src/tensorflow/lite/micro/kernels/dequantize_common.o ./src/tensorflow/lite/micro/kernels/elementwise.o ./src/tensorflow/lite/micro/kernels/elu.o ./src/tensorflow/lite/micro/kernels/ethosu.o ./src/tensorflow/lite/micro/kernels/exp.o ./src/tensorflow/lite/micro/kernels/expand_dims.o ./src/tensorflow/lite/micro/kernels/fill.o ./src/tensorflow/lite/micro/kernels/floor.o ./src/tensorflow/lite/micro/kernels/floor_div.o ./src/tensorflow/lite/micro/kernels/floor_mod.o ./src/tensorflow/lite/micro/kernels/fully_connected_common.o ./src/tensorflow/lite/micro/kernels/gather.o ./src/tensorflow/lite/micro/kernels/gather_nd.o ./src/tensorflow/lite/micro/kernels/hard_swish.o ./src/tensorflow/lite/micro/kernels/hard_swish_common.o ./src/tensorflow/lite/micro/kernels/if.o ./src/tensorflow/lite/micro/kernels/kernel_runner.o ./src/tensorflow/lite/micro/kernels/kernel_util.o ./src/tensorflow/lite/micro/kernels/l2_pool_2d.o ./src/tensorflow/lite/micro/kernels/l2norm.o ./src/tensorflow/lite/micro/kernels/leaky_relu.o ./src/tensorflow/lite/micro/kernels/leaky_relu_common.o ./src/tensorflow/lite/micro/kernels/log_softmax.o ./src/tensorflow/lite/micro/kernels/logical.o ./src/tensorflow/lite/micro/kernels/logical_common.o ./src/tensorflow/lite/micro/kernels/logistic.o ./src/tensorflow/lite/micro/kernels/logistic_common.o ./src/tensorflow/lite/micro/kernels/maximum_minimum.o ./src/tensorflow/lite/micro/kernels/mirror_pad.o ./src/tensorflow/lite/micro/kernels/mul_common.o ./src/tensorflow/lite/micro/kernels/neg.o ./src/tensorflow/lite/micro/kernels/pack.o ./src/tensorflow/lite/micro/kernels/pad.o ./src/tensorflow/lite/micro/kernels/pooling_common.o ./src/tensorflow/lite/micro/kernels/prelu.o ./src/tensorflow/lite/micro/kernels/prelu_common.o ./src/tensorflow/lite/micro/kernels/quantize.o ./src/tensorflow/lite/micro/kernels/quantize_common.o ./src/tensorflow/lite/micro/kernels/read_variable.o ./src/tensorflow/lite/micro/kernels/reduce.o ./src/tensorflow/lite/micro/kernels/reshape.o ./src/tensorflow/lite/micro/kernels/resize_bilinear.o ./src/tensorflow/lite/micro/kernels/resize_nearest_neighbor.o ./src/tensorflow/lite/micro/kernels/round.o ./src/tensorflow/lite/micro/kernels/shape.o ./src/tensorflow/lite/micro/kernels/slice.o ./src/tensorflow/lite/micro/kernels/softmax_common.o ./src/tensorflow/lite/micro/kernels/space_to_batch_nd.o ./src/tensorflow/lite/micro/kernels/space_to_depth.o ./src/tensorflow/lite/micro/kernels/split.o ./src/tensorflow/lite/micro/kernels/split_v.o ./src/tensorflow/lite/micro/kernels/squeeze.o ./src/tensorflow/lite/micro/kernels/strided_slice.o ./src/tensorflow/lite/micro/kernels/sub.o ./src/tensorflow/lite/micro/kernels/sub_common.o ./src/tensorflow/lite/micro/kernels/svdf_common.o ./src/tensorflow/lite/micro/kernels/tanh.o ./src/tensorflow/lite/micro/kernels/transpose.o ./src/tensorflow/lite/micro/kernels/transpose_conv.o ./src/tensorflow/lite/micro/kernels/unpack.o ./src/tensorflow/lite/micro/kernels/var_handle.o ./src/tensorflow/lite/micro/kernels/zeros_like.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/testdata/elephant_image_data.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/testdata/person_image_data.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/detection_responder.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/image_provider.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/main_functions.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/model_settings.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/ssd_mobilenet_test.o ./src/tensorflow/lite/micro/all_ops_resolver.o ./src/tensorflow/lite/micro/debug_log.o ./src/tensorflow/lite/micro/fake_micro_context.o ./src/tensorflow/lite/micro/flatbuffer_utils.o ./src/tensorflow/lite/micro/memory_helpers.o ./src/tensorflow/lite/micro/micro_allocator.o ./src/tensorflow/lite/micro/micro_context.o ./src/tensorflow/lite/micro/micro_error_reporter.o ./src/tensorflow/lite/micro/micro_graph.o ./src/tensorflow/lite/micro/micro_interpreter.o ./src/tensorflow/lite/micro/micro_profiler.o ./src/tensorflow/lite/micro/micro_resource_variable.o ./src/tensorflow/lite/micro/micro_string.o ./src/tensorflow/lite/micro/micro_time.o ./src/tensorflow/lite/micro/micro_utils.o ./src/tensorflow/lite/micro/mock_micro_graph.o ./src/tensorflow/lite/micro/recording_micro_allocator.o ./src/tensorflow/lite/micro/recording_simple_memory_allocator.o ./src/tensorflow/lite/micro/simple_memory_allocator.o ./src/tensorflow/lite/micro/system_setup.o ./src/tensorflow/lite/micro/test_helper_custom_ops.o ./src/tensorflow/lite/micro/test_helpers.o ./src/tensorflow/lite/kernels/internal/quantization_util.o ./src/tensorflow/lite/kernels/kernel_util.o ./src/tensorflow/lite/core/api/error_reporter.o ./src/tensorflow/lite/core/api/flatbuffer_conversions.o ./src/tensorflow/lite/core/api/op_resolver.o ./src/tensorflow/lite/core/api/tensor_utils.o ./src/tensorflow/lite/c/common.o
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find ./src/tensorflow/lite/micro/ker: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [SSD.exe] エラー 1
"make all" terminated with exit code 2. Build might be incomplete.

01:56:52 Build Failed. 1 errors, 0 warnings. (took 1s.420ms)


Normally "No such file or directory" error is very common among beginners, but this time, it occurs in the linking time.
What looks strange is when it says "No such file or directory", it it pointing "./src/tensorflow/lite/micro/ker" which is a part of "./src/tensorflow/lite/micro/kernel...".
It seems to me that the linker cannot read paths to the end for some reason.
Does anyone know any restricts linkers have such as the limit of number of object files or something else?

[Updated on: Thu, 14 April 2022 04:02]

Report message to a moderator

Re: No such file or directory [message #1851731 is a reply to message #1851723] Thu, 14 April 2022 05:46 Go to previous messageGo to next message
Sho Yamamoto is currently offline Sho YamamotoFriend
Messages: 2
Registered: April 2022
Junior Member
Updates.

I am now pretty sure that this problem comes from the limitation of number of caracters that linker can accept as arguments.
Please look at the log below. I removed the option "-s" and got

Quote:

Invoking: Cygwin C++ Linker
g++ -nostartfiles -nodefaultlibs -nostdlib -o "SSD.exe" ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q15.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q7.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_s8.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_u8.o ./src/third_party/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_with_batch_q7.o ./src/third_party/CMSIS/NN/Source/SVDFunctions/arm_svdf_s8.o ./src/third_party/CMSIS/NN/Source/ReshapeFunctions/arm_reshape_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_avgpool_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_max_pool_s8.o ./src/third_party/CMSIS/NN/Source/PoolingFunctions/arm_pool_q7_HWC.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_accumulate_q7_to_q15.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_add_q7.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_padded_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_1x_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_4x_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q15.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q7.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_svdf_s8.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_nntables.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_no_shift.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_no_shift.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_with_offset.o ./src/third_party/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_with_offset.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7_opt.o ./src/third_party/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1_x_n_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_HWC_q7_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_s8_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_basic.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_RGB.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_wrapper_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_3x3_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8_opt.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_u8_basic_ver1.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_wrapper_s8.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7_nonsquare.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_depthwise_conv_s8_core.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_s8_s16.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_s8_s16_reordered.o ./src/third_party/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_s8.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_w.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_x.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_y.o ./src/third_party/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_z.o ./src/third_party/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s8.o ./src/third_party/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_mul_s8.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q15.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q7.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu6_s8.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu_q15.o ./src/third_party/CMSIS/NN/Source/ActivationFunctions/arm_relu_q7.o ./src/tensorflow/lite/schema/schema_utils.o ./src/tensorflow/lite/micro/models/ssd_mobilenet_model_data.o ./src/tensorflow/lite/micro/memory_planner/greedy_memory_planner.o ./src/tensorflow/lite/micro/memory_planner/linear_memory_planner.o ./src/tensorflow/lite/micro/memory_planner/non_persistent_buffer_planner_shim.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/add.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/conv.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/depthwise_conv.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/fully_connected.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/mul.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/pooling.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/softmax.o ./src/tensorflow/lite/micro/kernels/cmsis_nn/svdf.o ./src/tensorflow/lite/micro/kernels/activations.o ./src/tensorflow/lite/micro/kernels/activations_common.o ./src/tensorflow/lite/micro/kernels/add_common.o ./src/tensorflow/lite/micro/kernels/add_n.o ./src/tensorflow/lite/micro/kernels/arg_min_max.o ./src/tensorflow/lite/micro/kernels/assign_variable.o ./src/tensorflow/lite/micro/kernels/batch_to_space_nd.o ./src/tensorflow/lite/micro/kernels/call_once.o ./src/tensorflow/lite/micro/kernels/cast.o ./src/tensorflow/lite/micro/kernels/ceil.o ./src/tensorflow/lite/micro/kernels/circular_buffer.o ./src/tensorflow/lite/micro/kernels/circular_buffer_common.o ./src/tensorflow/lite/micro/kernels/comparisons.o ./src/tensorflow/lite/micro/kernels/concatenation.o ./src/tensorflow/lite/micro/kernels/conv_common.o ./src/tensorflow/lite/micro/kernels/cumsum.o ./src/tensorflow/lite/micro/kernels/depth_to_space.o ./src/tensorflow/lite/micro/kernels/depthwise_conv_common.o ./src/tensorflow/lite/micro/kernels/dequantize.o ./src/tensorflow/lite/micro/kernels/dequantize_common.o ./src/tensorflow/lite/micro/kernels/elementwise.o ./src/tensorflow/lite/micro/kernels/elu.o ./src/tensorflow/lite/micro/kernels/ethosu.o ./src/tensorflow/lite/micro/kernels/exp.o ./src/tensorflow/lite/micro/kernels/expand_dims.o ./src/tensorflow/lite/micro/kernels/fill.o ./src/tensorflow/lite/micro/kernels/floor.o ./src/tensorflow/lite/micro/kernels/floor_div.o ./src/tensorflow/lite/micro/kernels/floor_mod.o ./src/tensorflow/lite/micro/kernels/fully_connected_common.o ./src/tensorflow/lite/micro/kernels/gather.o ./src/tensorflow/lite/micro/kernels/gather_nd.o ./src/tensorflow/lite/micro/kernels/hard_swish.o ./src/tensorflow/lite/micro/kernels/hard_swish_common.o ./src/tensorflow/lite/micro/kernels/if.o ./src/tensorflow/lite/micro/kernels/kernel_runner.o ./src/tensorflow/lite/micro/kernels/kernel_util.o ./src/tensorflow/lite/micro/kernels/l2_pool_2d.o ./src/tensorflow/lite/micro/kernels/l2norm.o ./src/tensorflow/lite/micro/kernels/leaky_relu.o ./src/tensorflow/lite/micro/kernels/leaky_relu_common.o ./src/tensorflow/lite/micro/kernels/log_softmax.o ./src/tensorflow/lite/micro/kernels/logical.o ./src/tensorflow/lite/micro/kernels/logical_common.o ./src/tensorflow/lite/micro/kernels/logistic.o ./src/tensorflow/lite/micro/kernels/logistic_common.o ./src/tensorflow/lite/micro/kernels/maximum_minimum.o ./src/tensorflow/lite/micro/kernels/mirror_pad.o ./src/tensorflow/lite/micro/kernels/mul_common.o ./src/tensorflow/lite/micro/kernels/neg.o ./src/tensorflow/lite/micro/kernels/pack.o ./src/tensorflow/lite/micro/kernels/pad.o ./src/tensorflow/lite/micro/kernels/pooling_common.o ./src/tensorflow/lite/micro/kernels/prelu.o ./src/tensorflow/lite/micro/kernels/prelu_common.o ./src/tensorflow/lite/micro/kernels/quantize.o ./src/tensorflow/lite/micro/kernels/quantize_common.o ./src/tensorflow/lite/micro/kernels/read_variable.o ./src/tensorflow/lite/micro/kernels/reduce.o ./src/tensorflow/lite/micro/kernels/reshape.o ./src/tensorflow/lite/micro/kernels/resize_bilinear.o ./src/tensorflow/lite/micro/kernels/resize_nearest_neighbor.o ./src/tensorflow/lite/micro/kernels/round.o ./src/tensorflow/lite/micro/kernels/shape.o ./src/tensorflow/lite/micro/kernels/slice.o ./src/tensorflow/lite/micro/kernels/softmax_common.o ./src/tensorflow/lite/micro/kernels/space_to_batch_nd.o ./src/tensorflow/lite/micro/kernels/space_to_depth.o ./src/tensorflow/lite/micro/kernels/split.o ./src/tensorflow/lite/micro/kernels/split_v.o ./src/tensorflow/lite/micro/kernels/squeeze.o ./src/tensorflow/lite/micro/kernels/strided_slice.o ./src/tensorflow/lite/micro/kernels/sub.o ./src/tensorflow/lite/micro/kernels/sub_common.o ./src/tensorflow/lite/micro/kernels/svdf_common.o ./src/tensorflow/lite/micro/kernels/tanh.o ./src/tensorflow/lite/micro/kernels/transpose.o ./src/tensorflow/lite/micro/kernels/transpose_conv.o ./src/tensorflow/lite/micro/kernels/unpack.o ./src/tensorflow/lite/micro/kernels/var_handle.o ./src/tensorflow/lite/micro/kernels/zeros_like.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/testdata/elephant_image_data.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/testdata/person_image_data.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/detection_responder.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/image_provider.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/main_functions.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/model_settings.o ./src/tensorflow/lite/micro/examples/ssd_mobilenet/ssd_mobilenet_test.o ./src/tensorflow/lite/micro/all_ops_resolver.o ./src/tensorflow/lite/micro/debug_log.o ./src/tensorflow/lite/micro/fake_micro_context.o ./src/tensorflow/lite/micro/flatbuffer_utils.o ./src/tensorflow/lite/micro/memory_helpers.o ./src/tensorflow/lite/micro/micro_allocator.o ./src/tensorflow/lite/micro/micro_context.o ./src/tensorflow/lite/micro/micro_error_reporter.o ./src/tensorflow/lite/micro/micro_graph.o ./src/tensorflow/lite/micro/micro_interpreter.o ./src/tensorflow/lite/micro/micro_profiler.o ./src/tensorflow/lite/micro/micro_resource_variable.o ./src/tensorflow/lite/micro/micro_string.o ./src/tensorflow/lite/micro/micro_time.o ./src/tensorflow/lite/micro/micro_utils.o ./src/tensorflow/lite/micro/mock_micro_graph.o ./src/tensorflow/lite/micro/recording_micro_allocator.o ./src/tensorflow/lite/micro/recording_simple_memory_allocator.o ./src/tensorflow/lite/micro/simple_memory_allocator.o ./src/tensorflow/lite/micro/system_setup.o ./src/tensorflow/lite/micro/test_helper_custom_ops.o ./src/tensorflow/lite/micro/test_helpers.o ./src/tensorflow/lite/kernels/internal/quantization_util.o ./src/tensorflow/lite/kernels/kernel_util.o ./src/tensorflow/lite/core/api/error_reporter.o ./src/tensorflow/lite/core/api/flatbuffer_conversions.o ./src/tensorflow/lite/core/api/op_resolver.o ./src/tensorflow/lite/core/api/tensor_utils.o ./src/tensorflow/lite/c/common.o
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find ./src/tensorflow/lite/micro/kernel: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [SSD.exe] エラー 1
"make all" terminated with exit code 2. Build might be incomplete.

14:38:31 Build Failed. 1 errors, 2 warnings. (took 7m:55s.768ms)


Previouly with option "-s", the path was "./src/tensorflow/lite/micro/ker", but now without option "-s" it's "./src/tensorflow/lite/micro/kernel".
This means by omitting "-s", the linker can now accept 3 more characters ("-", "s" and space maybe?).

Is there any workaround to this?
Re: No such file or directory [message #1851747 is a reply to message #1851731] Thu, 14 April 2022 17:13 Go to previous message
ac ac is currently offline ac acFriend
Messages: 7
Registered: January 2021
Junior Member
Is it possibly a problem of the operating system?
https://docs.microsoft.com/en-US/troubleshoot/windows-client/shell-experience/command-line-string-limitation
Previous Topic:Indexing recursive include files with heavy preprocessor use -- Ideas?
Next Topic:bash: ./hello.o: cannot execute binary file: Exec format error
Goto Forum:
  


Current Time: Mon Jan 30 18:51:51 GMT 2023

Powered by FUDForum. Page generated in 0.02782 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top