Unable to make xsm simulated machine

100 views
Skip to first unread message

pati chandana

unread,
Sep 7, 2020, 1:22:24 PM9/7/20
to XOS Users
Sir,
    I'm stuck at  stage 3, I'm unable to make xfs machine by "make" command. I get these following errors, which I'm unable to fix. Could you please tell me, what's going wrong?
Please find the screenshot attached, showing some warnings at first and error at the end(pointed out with an arrow).Screenshot from 2020-09-07 20-04-53.png

pati chandana

unread,
Sep 7, 2020, 1:30:26 PM9/7/20
to XOS Users
unable to make **xsm machine by 
Message has been deleted

Dalton Fury

unread,
Sep 7, 2020, 2:50:37 PM9/7/20
to xos-...@googlegroups.com
Hi,

What operating system are you using? I might not be able to tell the exact fix, but this issue is happening because the C compiler is not able to find the flex libraries.

Make sure your dependencies are installed (Roadmap Stage 1 has the commands).

If that did not fix the issues, there is a Makefile in the xsm folder. Can you comment out (use # to comment) lines 6, 7, and 9 and try again?
image.png

Regards,
Navaneeth

On Mon, Sep 7, 2020 at 11:02 PM Hemanth V <hemanth_...@nitc.ac.in> wrote:
run make from ./myexpos directory, not from /myexpos/xsm

On Monday, September 7, 2020 at 10:52:24 PM UTC+5:30 pati chandana wrote:

--
You received this message because you are subscribed to the Google Groups "XOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xos-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/xos-users/ba7017ae-a15c-4301-822e-a767e422b992n%40googlegroups.com.

Murali Krishnan

unread,
Sep 7, 2020, 3:07:16 PM9/7/20
to xos-...@googlegroups.com
Which OS?

--
You received this message because you are subscribed to the Google Groups "XOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xos-users+...@googlegroups.com.

pati chandana

unread,
Sep 7, 2020, 10:04:05 PM9/7/20
to XOS Users
Flex is installed. I commented the part and I am getting an error that " /usr/bin/ld: cannot find -lfl ".

pati chandana

unread,
Sep 7, 2020, 10:04:35 PM9/7/20
to XOS Users
Linux Mint OS

Murali Krishnan

unread,
Sep 8, 2020, 12:22:26 AM9/8/20
to xos-...@googlegroups.com, xos-developers
Dear developers team,
  Can someone who can spare a bit of time check if this is an issue with Linux Mint dependency issue (or some error in the student's file)?
  In one week, I hope to  find a team in the present final year for support (everything is online with no one around in the campus - this is a bit of a difficulty here). 
  Till then, one of the seniors, could you please help the student to fix the problem.
Murali
   

Dalton Fury

unread,
Sep 8, 2020, 12:38:24 AM9/8/20
to xos-...@googlegroups.com, xos-developers
Hi,

I tried installing and compiling the project on a fresh Mint image, and it's working fine. I did not have to edit the Makefile, (-ll works on mint)

@Chandana what's the exact version of Mint OS you have? Pl see the commands I had used in the screenshot below:

image.png

pati chandana

unread,
Sep 9, 2020, 6:34:11 AM9/9/20
to XOS Users
Version of linux mint installed is 19.3

pati chandana

unread,
Sep 9, 2020, 6:36:43 AM9/9/20
to XOS Users
ps: sorry, for the late response, had some hardware issues with my laptop

Dalton Fury

unread,
Sep 9, 2020, 2:22:25 PM9/9/20
to xos-...@googlegroups.com
Hi Pati.. I found the fix. You need to install this extra package:

 apt install libfl-dev
@Sir, looks like Mint 19.3 requires this package. This package seems to be a part of debian, so we can add it after testing to make sure it works on other OSes (Ubuntu etc).

Regards,

pati chandana

unread,
Sep 9, 2020, 7:03:46 PM9/9/20
to XOS Users
That worked!! Thanks a lot @Navaneeth.
Reply all
Reply to author
Forward
0 new messages