mailing list of musl libc
 help / color / mirror / code / 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).