Skip to content

Feature/compile fix ubuntu20.04#81

Open
ainguraXmarquiegui wants to merge 3 commits intoMicrochip-Ethernet:masterfrom
ainguraXmarquiegui:feature/compile-fix-ubuntu20.04
Open

Feature/compile fix ubuntu20.04#81
ainguraXmarquiegui wants to merge 3 commits intoMicrochip-Ethernet:masterfrom
ainguraXmarquiegui:feature/compile-fix-ubuntu20.04

Conversation

@ainguraXmarquiegui
Copy link
Copy Markdown

These modifications have enabled me to successfully build an image on my Ubuntu 20.04 amd64 machine

@ainguraXmarquiegui ainguraXmarquiegui force-pushed the feature/compile-fix-ubuntu20.04 branch from bde09ca to 0466931 Compare November 13, 2021 09:50
Xabier Marquiegui added 3 commits November 19, 2021 12:45
Without this patch, host-mtd fails to compile stating that major and
minor are undefined references.
* Added missing dependencies for successful building of buildroot in
Ubuntu 20.04 amd64 systems
* Updated document revision and date
* Removed "Confidential" since it's clearly not confidential because
it's in a public repository
* Fix instructions to ensure that KSZ_HOME variable is properly used by
flash_board
sed can leave ubinize.cfg with no read or write permissions. This change
ensures that the file is readable.

It seems that if the ubinize command fails the error is not reported and
the compilation completed, but the file was missing.
@ainguraXmarquiegui ainguraXmarquiegui force-pushed the feature/compile-fix-ubuntu20.04 branch from 46abec0 to e52fd21 Compare November 19, 2021 11:45
@r315
Copy link
Copy Markdown

r315 commented Jan 5, 2022

I have tested this pull request and can confirm that works, Microchip should accept this pull request

@marcohabeck
Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants