mailing list of musl libc
 help / color / mirror / Atom feed
* [musl] compilation of nano terminated
       [not found] <YIPX1TGJw06eCvK4.ref@w>
@ 2021-04-24  8:33 ` Badli
  2021-04-24 11:11   ` musl
  0 siblings, 1 reply; 2+ messages in thread
From: Badli @ 2021-04-24  8:33 UTC (permalink / raw)
  To: musl

Hi,

I am tring to compile nano editor againts musl. But make fails and i got the following message:- 

---------------------------------------------------------------------

lib -I../lib -I/usr/local/musl/include/ncursesw -I/usr/local/musl/include -I /usr/local/musl/include  -march=silvermont -mtune=silvermont -O2 -pipe -Wall -MT nano.o -MD -MP -MF .deps/nano.Tpo -c -o nano.o nano.c
In file included from /usr/local/musl/include/sys/vt.h:1,
                 from nano.c:42:
/usr/local/musl/include/bits/vt.h:1:10: fatal error: linux/vt.h: No such file or directory
    1 | #include <linux/vt.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1746: nano.o] Error 1
make[2]: Leaving directory '/home/b/t/nano-5.6.1/src'
make[1]: *** [Makefile:1704: all-recursive] Error 1
make[1]: Leaving directory '/home/b/t/nano-5.6.1'
make: *** [Makefile:1645: all] Error 2

--------------------------------------------------------------------

The contents of the folder is as follows.

> cat /usr/local/musl/include/sys/vt.h
#include <bits/vt.h>

cat /usr/local/musl/include/bits/vt.h
#include <linux/vt.h>

There is no linux/vt.h on the /usr/local/musl/include or on the git source folder. 
musl is at commit aad50fcd791e009961621ddfbe3d4c245fd689a3.

Any advice on to compile nano with musl ?

Please help to cc me at this email badli.rashid@yahoo.com as i am not a member of the list.

Regards,
Badli

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] compilation of nano terminated
  2021-04-24  8:33 ` [musl] compilation of nano terminated Badli
@ 2021-04-24 11:11   ` musl
  0 siblings, 0 replies; 2+ messages in thread
From: musl @ 2021-04-24 11:11 UTC (permalink / raw)
  To: musl; +Cc: Badli

> I am tring to compile nano editor againts musl. But make fails and i
> got the following message:-
> 
> ---------------------------------------------------------------------
> 
> lib -I../lib -I/usr/local/musl/include/ncursesw
> -I/usr/local/musl/include -I /usr/local/musl/include
> -march=silvermont -mtune=silvermont -O2 -pipe -Wall -MT nano.o -MD -MP
> -MF .deps/nano.Tpo -c -o nano.o nano.c
> In file included from /usr/local/musl/include/sys/vt.h:1,
>                  from nano.c:42:
> /usr/local/musl/include/bits/vt.h:1:10: fatal error: linux/vt.h: No
> such file or directory

linux/vt.h comes from the linux-kernel-headers, which seem missing on 
your system.

Johannes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-24 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <YIPX1TGJw06eCvK4.ref@w>
2021-04-24  8:33 ` [musl] compilation of nano terminated Badli
2021-04-24 11:11   ` musl

mailing list of musl libc

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/musl

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 musl musl/ http://inbox.vuxu.org/musl \
		musl@inbox.vuxu.org
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.musl


code repositories for the project(s) associated with this inbox:

	https://git.vuxu.org/mirror/musl/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git