Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 24 Apr 2021 16:33:25 +0800
From: Badli <badli.rashid@...oo.com>
To: musl@...ts.openwall.com
Subject: compilation of nano terminated

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@...oo.com as i am not a member of the list.

Regards,
Badli

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.