Re: lib file format not recognized, with or without libc-musl
Benno Schulenberg <[email protected]> Thu, 6 May 2021 17:06:10 +0200
| Newsgroups | gmane.editors.nano.devel,gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
The nano-devel mailing list is not a help forum. In future, please send any requests for help with build problems to the help-nano list. Op 05-05-2021 om 17:21 schreef Badli: > I got the following error message when compiling nano with or without lib-musl. > > gcc -march=silvermont -mtune=silvermont -O2 -pipe -Wall -o nano browser.o chars.o color.o cut.o files.o global.o help.o history.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o ../lib/libgnu.a -L/usr/local/musl/lib /usr/local/musl/lib -lncursesw -ltinfo > /usr/bin/ld: cannot find /usr/local/musl/lib: file format not recognized > [...] > > i had double check the Makefile it contains the CPPFLAGS and CURSES_LIB > CPPFLAGS = -I/usr/local/musl/include/ncursesw -I/usr/local/musl/include > CURSES_LIB = -L/usr/local/musl/lib /usr/local/musl/lib -lncursesw -ltinfo > > I had remove the above musl and use glibc but it still gives the "ld: cannot find > /usr/lib: file format not recognized". > > I am using nano 5.7 tarball, previously i can compile the 5.6.1 glibc and musl. Can you now still build 5.6.1? If not, something is wrong in your env. If yes, then unpack 5.7 afresh and try again. If it still fails, compare the 5.6.1 and 5.7 config.log files. Benno
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAmCUBesACgkQDSjU0qCs 6IRjTg/+K2FSTvNm2/lniecVDO8ZGwiy/hgl7vhGXHcOyzw77lJeY2WJ9P5f87mA b177lfTB+ESFfdFdb4UAU4v+zxeBj1O5kusQfk568DwiVmgelgiENV3BTy8z9vfY 9xsHRKVKLLyrIbwhh+dK6y+1Unle2BNgw+a1S2/CMqSUy1lgeT0lqHR+5k2+yjAV Ye2nRp99/x0MAhv+O8r16jlVcT2uUxv8u32RkSdvz0Fye7ZT/wqTNGy3Rn+R0dYB o87FJWy14MH96feUuY9TksJJU6IGULOMWdDRc4MhoNoVkyxW/6RWLE+1JOkZ7CIs VSaURMWmhusK3FLVdl/464SMEm82ETaY48g7GfIgPv+AuX/9qMBJdILRkcJUlRws JrGAvuCVmK/7efBInvaP88hqLGlo7kfs2aimbVNKoi8WUx8aRDF47lNKtJe42QvV qktGnph3J+GNEVfx9vWUnnlSe68ZhI3+tI3IDahO0u/Vb3N19OW+7xJzzGO6Pdkz CoFgFG2Xu9T1o+j981Gir3oBVIfVNWIgNvG24xdfsAmGkkWb9g5t2Ji24S2JhOJg YlpvmYaXqb4A939jEG1Fg952/r5KZT2BsT8Oi8oRW+mEsu84D82GetQOl7IAb6c7 WROaXl7kxZJmPbt+c3T7XsTmCze1gJKs/5sfirvsbDz5Rpcr/f0= =sJMS -----END PGP SIGNATURE-----