The recent rewrite of the dependencies resulted in the higher level files being after the lower level files.
Normally this is not a problem, but when it comes to compiling static programs depending on this, the linking fails.
This becomes more confusing in that, in my case the GNU Linker, says that functions do not exist when you can see that they, in fact, do exist.
By changing the order, with the higher levels before the lower levels, static compilation works without any such issues.
fi
if [[ $dependencies_1 != "" ]] ; then
- dependencies_individual="$dependencies_individual $dependencies_1"
+ dependencies_individual="$dependencies_1 $dependencies_individual"
fi
if [[ $dependencies_2 != "" ]] ; then
- dependencies_individual="$dependencies_individual $dependencies_2"
+ dependencies_individual="$dependencies_2 $dependencies_individual"
fi
fi
fi
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_file -lf_memory -lf_print -lf_utf -lfl_string
+build_libraries-individual -lfl_string -lf_console -lf_file -lf_memory -lf_print -lf_utf
build_sources_library error.c private-error.c
build_sources_program
build_sources_headers error.h error-common.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_environment -lf_file -lf_memory -lf_path -lf_signal -lf_utf -lfl_environment -lfl_string
+build_libraries-individual -lfl_environment -lfl_string -lf_environment -lf_file -lf_memory -lf_path -lf_signal -lf_utf
build_sources_library execute.c private-execute.c
build_sources_program
build_sources_headers execute.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_directory -lf_file -lf_memory -lf_path -lf_print -lf_utf -lfl_color -lfl_directory
+build_libraries-individual -lfl_color -lfl_directory -lf_directory -lf_file -lf_memory -lf_path -lf_print -lf_utf
build_sources_library file.c private-file.c
build_sources_program
build_sources_headers file.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_conversion -lf_file -lf_fss -lf_memory -lf_utf -lfl_conversion -lfl_fss -lfl_status -lfl_string
+build_libraries-individual -lfl_conversion -lfl_fss -lfl_status -lfl_string -lf_conversion -lf_file -lf_fss -lf_memory -lf_utf
build_sources_library fss.c private-fss.c fss_basic.c fss_basic_list.c fss_extended.c fss_extended_list.c fss_status.c
build_sources_program
build_sources_headers fss.h fss_basic.h fss_basic_list.h fss_extended.h fss_extended_list.h fss_status.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_iki -lf_memory -lf_utf -lfl_iki -lfl_string
+build_libraries-individual -lfl_iki -lfl_string -lf_iki -lf_memory -lf_utf
build_sources_library iki.c private-iki.c
build_sources_program
build_sources_headers iki.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_memory -lf_path -lf_utf -lfl_string
+build_libraries-individual -lfl_string -lf_memory -lf_path -lf_utf
build_sources_library path.c
build_sources_program
build_sources_headers path.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_file -lf_memory -lf_print -lf_utf -lfl_color -lfl_string
+build_libraries-individual -lfl_color -lfl_string -lf_console -lf_file -lf_memory -lf_print -lf_utf
build_sources_library program.c
build_sources_program
build_sources_headers program.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_conversion -lf_memory -lf_utf -lfl_status -lfl_string
+build_libraries-individual -lfl_status -lfl_string -lf_conversion -lf_memory -lf_utf
build_sources_library status.c
build_sources_program
build_sources_headers status.h
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_string -lfl_utf -lfll_error -lfll_program
+build_libraries-individual -lfll_error -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_string -lfl_utf -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library byte_dump.c private-byte_dump.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_account -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_iki -lf_memory -lf_path -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_status -lfl_string -lfl_utf -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_path -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_path -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_status -lfl_string -lfl_utf -lf_account -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_iki -lf_memory -lf_path -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fake.c private-fake.c private-clean.c private-build.c private-make.c private-print.c private-skeleton.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library firewall.c private-firewall.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_basic_list_read.c private-fss_basic_list_read.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_basic_list_write.c private-fss_basic_list_write.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_basic_read.c private-fss_basic_read.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_basic_write.c private-fss_basic_write.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_extended_list_read.c private-fss_extended_list_read.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_extended_list_write.c private-fss_extended_list_write.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_extended_read.c private-fss_extended_read.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfl_color -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_extended_write.c private-fss_extended_write.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfl_utf -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfll_status
+build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_program -lfll_status -lfl_color -lfl_console -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_status -lfl_string -lfl_utf -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library fss_status_code.c private-fss_status_code.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_pipe -lf_print -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_iki -lfl_string -lfll_error -lfll_program
+build_libraries-individual -lfll_error -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_iki -lfl_string -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_pipe -lf_print -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library iki_read.c private-iki_read.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_pipe -lf_print -lf_utf -lfl_color -lfl_console -lfl_iki -lfl_string -lfll_error -lfll_iki -lfll_program
+build_libraries-individual -lfll_error -lfll_iki -lfll_program -lfl_color -lfl_console -lfl_iki -lfl_string -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_pipe -lf_print -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library iki_write.c private-iki_write.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_environment -lfl_fss -lfl_status -lfl_string -lfll_error -lfll_execute -lfll_fss -lfll_program
+build_libraries-individual -lfll_error -lfll_execute -lfll_fss -lfll_program -lfl_color -lfl_console -lfl_conversion -lfl_environment -lfl_fss -lfl_status -lfl_string -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library init.c private-init.c
build_indexer ar
build_language c
build_libraries -lc
-build_libraries-individual -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_utf -lfl_color -lfl_console -lfl_conversion -lfl_status -lfl_string -lfl_utf -lfll_error -lfll_program -lfll_status
+build_libraries-individual -lfll_error -lfll_program -lfll_status -lfl_color -lfl_console -lfl_conversion -lfl_status -lfl_string -lfl_utf -lf_console -lf_conversion -lf_file -lf_memory -lf_pipe -lf_print -lf_utf
build_libraries-level -lfll_2 -lfll_1 -lfll_0
build_libraries-monolithic -lfll
build_sources_library status_code.c private-status_code.c