Open ainguraXmarquiegui opened 3 years ago
I have tested this pull request and can confirm that works, Microchip should accept this pull request
Linux Mint 20.3 -> link error too old, exactly any problem why you have to use a stone old system.
/usr/bin/ld: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd.a(libmtd.o): in function
dev_node2num':
/home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd.c:446: undefined reference to major' /usr/bin/ld: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd.c:447: undefined reference to
minor'
/usr/bin/ld: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd.a(libmtd_legacy.o): in function legacy_get_dev_info': /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd_legacy.c:254: undefined reference to
major'
/usr/bin/ld: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/lib/libmtd_legacy.c:255: undefined reference to minor' collect2: error: ld returned 1 exit status make[2]: *** [common.mk:71: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/flash_erase] Fehler 1 make[1]: *** [package/pkg-generic.mk:204: /home/marco/lib/EVB-KSZ9477/KSZ/Atmel_SOC_SAMA5D3/buildroot/output/build/host-mtd-1.5.2/.stamp_built] Fehler 2 make: *** [Makefile:41: _all] Fehler 2
These modifications have enabled me to successfully build an image on my Ubuntu 20.04 amd64 machine