Discussion:
[Contiki-developers] make login problem
Domenico Vito Scalera
2017-04-11 08:00:04 UTC
Permalink
Hi to everybody,

I'm a new user of this community and in programming, so sorry if I'm make
some mistake and please try to be as clear as possible, for me everything
is new.
I have problem to complete the first example to start contiki with zolertia
z1.
In particular I have problem with make login.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).

../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255


I tried a lot of solutions alredy proposed, but I still have this problem.
I tried with : apt-get install libc6:i386 and apt-get install ia32-libs but
this is the output I receive Unable to locate package ia32-libs.

Can someone help me?
Dario
2017-04-11 08:21:42 UTC
Permalink
Hi Domenico,
I had the same problem, the reason was that I was running on a 64-bit
machine a version of the serialdump compiled for 32-bit system. As you
are using instantContiki, I don't know why you are getting this error.
What you can try is the following:

First try installing the correct library (ia32-libs is not yet available):
$ sudo apt-get install lib32ncurses5 lib32z1

Reboot and try if this solves the problem, if not you may follow the
long route:

1. Download the serialdump-linux file from this link:
https://github.com/cmorty/contiki/blob/pull/serialdump/tools/sky/serialdump-linux
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory contiki/tools/sky
4. Change the permissions of the new serialdump-linux file:
$ chmod 775 serialdump-linux
5. Reboot

The long route worked for me.

Best Regards,
Dario
Post by Domenico Vito Scalera
Hi to everybody,
I'm a new user of this community and in programming, so sorry if I'm
make some mistake and please try to be as clear as possible, for me
everything is new.
I have problem to complete the first example to start contiki with
zolertia z1.
In particular I have problem with |make login|.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
|../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0 connecting to
/dev/ttyUSB0 (115200) open: Invalid argument make: *** [login] Error 255 |
I tried a lot of solutions alredy proposed, but I still have this
problem. I tried with : |apt-get install libc6:i386| and |apt-get
install ia32-libs| but this is the output I receive |Unable to locate
package ia32-libs|.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Domenico Vito Scalera
2017-04-11 09:43:57 UTC
Permalink
Hi Dario,
thank you for your help and time, but I have already tried all the
processes you suggest me and I still have the problem.
To be more clear I have problems installing the libraries, this is the
output I receive:

E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1

Can you help me?

Domenico Vito Scalera
Post by Dario
Hi Domenico,
I had the same problem, the reason was that I was running on a 64-bit
machine a version of the serialdump compiled for 32-bit system. As you are
using instantContiki, I don't know why you are getting this error. What you
$ sudo apt-get install lib32ncurses5 lib32z1
Reboot and try if this solves the problem, if not you may follow the long
https://github.com/cmorty/contiki/blob/pull/serialdump/
tools/sky/serialdump-linux
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory contiki/tools/sky
$ chmod 775 serialdump-linux
5. Reboot
The long route worked for me.
Best Regards,
Dario
Hi to everybody,
I'm a new user of this community and in programming, so sorry if I'm make
some mistake and please try to be as clear as possible, for me everything
is new.
I have problem to complete the first example to start contiki with
zolertia z1.
In particular I have problem with make login.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255
I tried a lot of solutions alredy proposed, but I still have this problem.
I tried with : apt-get install libc6:i386 and apt-get install ia32-libs
but this is the output I receive Unable to locate package ia32-libs.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Dario
2017-04-11 10:02:07 UTC
Permalink
Just to check, did you update the package list?

$ sudo apt-get clean
$ sudo apt-get update

Then try to install the libraries mentioned before. If you already did
that, maybe you have the multi-arch support disabled, then try the
following:

$ sudo dpkg --add-architecture i386
$ sudo apt-get clean
$ sudo apt-get update
$ sudo apt-get install lib32z1 lib32ncurses5

Dario
Post by Domenico Vito Scalera
Hi Dario,
thank you for your help and time, but I have already tried all the
processes you suggest me and I still have the problem.
To be more clear I have problems installing the libraries, this is the
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1
Can you help me?
Domenico Vito Scalera
Hi Domenico,
I had the same problem, the reason was that I was running on a
64-bit machine a version of the serialdump compiled for 32-bit
system. As you are using instantContiki, I don't know why you are
$ sudo apt-get install lib32ncurses5 lib32z1
Reboot and try if this solves the problem, if not you may follow
https://github.com/cmorty/contiki/blob/pull/serialdump/tools/sky/serialdump-linux
<https://github.com/cmorty/contiki/blob/pull/serialdump/tools/sky/serialdump-linux>
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory
contiki/tools/sky
$ chmod 775 serialdump-linux
5. Reboot
The long route worked for me.
Best Regards,
Dario
Post by Domenico Vito Scalera
Hi to everybody,
I'm a new user of this community and in programming, so sorry if
I'm make some mistake and please try to be as clear as possible,
for me everything is new.
I have problem to complete the first example to start contiki
with zolertia z1.
In particular I have problem with |make login|.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
|../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0 connecting
to /dev/ttyUSB0 (115200) open: Invalid argument make: *** [login]
Error 255 |
I tried a lot of solutions alredy proposed, but I still have this
problem. I tried with : |apt-get install libc6:i386| and |apt-get
install ia32-libs| but this is the output I receive |Unable to
locate package ia32-libs|.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
<https://lists.sourceforge.net/lists/listinfo/contiki-developers>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Contiki-developers
https://lists.sourceforge.net/lists/listinfo/contiki-developers
<https://lists.sourceforge.net/lists/listinfo/contiki-developers>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Domenico Vito Scalera
2017-04-11 10:10:13 UTC
Permalink
Did it again all the commands you wrote. I still receive the same answer:
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1

Do you have another idea?
thank you for your time
Post by Dario
Just to check, did you update the package list?
$ sudo apt-get clean
$ sudo apt-get update
Then try to install the libraries mentioned before. If you already did
that, maybe you have the multi-arch support disabled, then try the
$ sudo dpkg --add-architecture i386
$ sudo apt-get clean
$ sudo apt-get update
$ sudo apt-get install lib32z1 lib32ncurses5
Dario
Hi Dario,
thank you for your help and time, but I have already tried all the
processes you suggest me and I still have the problem.
To be more clear I have problems installing the libraries, this is the
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1
Can you help me?
Domenico Vito Scalera
Post by Dario
Hi Domenico,
I had the same problem, the reason was that I was running on a 64-bit
machine a version of the serialdump compiled for 32-bit system. As you are
using instantContiki, I don't know why you are getting this error. What you
$ sudo apt-get install lib32ncurses5 lib32z1
Reboot and try if this solves the problem, if not you may follow the long
https://github.com/cmorty/contiki/blob/pull/serialdump/tools
/sky/serialdump-linux
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory contiki/tools/sky
$ chmod 775 serialdump-linux
5. Reboot
The long route worked for me.
Best Regards,
Dario
Hi to everybody,
I'm a new user of this community and in programming, so sorry if I'm make
some mistake and please try to be as clear as possible, for me everything
is new.
I have problem to complete the first example to start contiki with
zolertia z1.
In particular I have problem with make login.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255
I tried a lot of solutions alredy proposed, but I still have this
problem. I tried with : apt-get install libc6:i386 and apt-get install
ia32-libs but this is the output I receive Unable to locate package
ia32-libs.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Contiki-developers
https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Dario
2017-04-11 10:25:18 UTC
Permalink
Well, those libraries are for 64-bit environments so maybe the problem
is that you are using that from instantContiki (which is 32-bit, tell me
if I'm wrong). I have no more ideas, as I solved as I showed you.

A very last possibility is to download again instantContiki to check if
your version is corrupted, or wait for someone else to reply.

Dario
Domenico Vito Scalera
2017-04-11 10:48:31 UTC
Permalink
Yes I'm working with windows in 64-bit and the virtual machine is VMware in
which I installed IstankContiki3.0 32 bit
thankyou very much for your time
Post by Dario
Well, those libraries are for 64-bit environments so maybe the problem
is that you are using that from instantContiki (which is 32-bit, tell me
if I'm wrong). I have no more ideas, as I solved as I showed you.
A very last possibility is to download again instantContiki to check if
your version is corrupted, or wait for someone else to reply.
Dario
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
R.Vinob chander
2017-04-11 09:49:03 UTC
Permalink
U need to install those packages
Post by Domenico Vito Scalera
Hi Dario,
thank you for your help and time, but I have already tried all the
processes you suggest me and I still have the problem.
To be more clear I have problems installing the libraries, this is the
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1
Can you help me?
Domenico Vito Scalera
Hi Domenico,
I had the same problem, the reason was that I was running on a
64-bit machine a version of the serialdump compiled for 32-bit
system. As you are using instantContiki, I don't know why you are
First try installing the correct library (ia32-libs is not yet
$ sudo apt-get install lib32ncurses5 lib32z1
Reboot and try if this solves the problem, if not you may follow the
https://github.com/cmorty/contiki/blob/pull/serialdump/tools/sky/serialdump-linux
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory
contiki/tools/sky
$ chmod 775 serialdump-linux
5. Reboot
The long route worked for me.
Best Regards,
Dario
Il 11/04/2017 10:00, Domenico Vito
Hi to everybody,
I'm a new user of this community and in programming, so sorry
if I'm make some mistake and please try to be as clear as
possible, for me everything is new.
I have problem to complete the first example to start contiki
with zolertia z1.
In particular I have problem with make login.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255
I tried a lot of solutions alredy proposed, but I still have
this problem. I tried with : apt-get install libc6:i386
and apt-get install ia32-libs but this is the
output I receive Unable to locate package ia32-libs.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--
Sent from Gmail Mobile
--
::DISCLAIMER::

---------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. Views or opinions, if any,
presented in this email are solely those of the author and may not
necessarily reflect the views or opinions of SSN Institutions (SSN) or its
affiliates. Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of this message without the
prior written consent of authorized representative of SSN is strictly
prohibited. If you have received this email in error please delete it and
notify the sender immediately.
---------------------------------------------------------------------
Header of this mail should have a valid DKIM signature for the domain ssn.edu.in <http://www.ssn.edu.in/>
Domenico Vito Scalera
2017-04-11 10:27:23 UTC
Permalink
I've already tried, but when I try to install the packages the output says
unable to locate package xxx
Which packages do you mean?
Post by R.Vinob chander
U need to install those packages
Post by Domenico Vito Scalera
Hi Dario,
thank you for your help and time, but I have already tried all the
processes you suggest me and I still have the problem.
To be more clear I have problems installing the libraries, this is the
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32z1
Can you help me?
Domenico Vito Scalera
Hi Domenico,
I had the same problem, the reason was that I was running on a
64-bit machine a version of the serialdump compiled for 32-bit
system. As you are using instantContiki, I don't know why you are
First try installing the correct library (ia32-libs is not yet
$ sudo apt-get install lib32ncurses5 lib32z1
Reboot and try if this solves the problem, if not you may follow the
https://github.com/cmorty/contiki/blob/pull/serialdump/
tools/sky/serialdump-linux
2. Rename the current serialdump-linux file (for example
serialdump-linux.old) in the /contiki/tools/sky directory
3. Copy the new serialdump-linux file in the directory
contiki/tools/sky
$ chmod 775 serialdump-linux
5. Reboot
The long route worked for me.
Best Regards,
Dario
Il 11/04/2017 10:00, Domenico Vito
Hi to everybody,
I'm a new user of this community and in programming, so sorry
if I'm make some mistake and please try to be as clear as
possible, for me everything is new.
I have problem to complete the first example to start contiki
with zolertia z1.
In particular I have problem with make login.
This is the output I receive (I'm working with Windows and
IstantContiki3.0).
../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255
I tried a lot of solutions alredy proposed, but I still have
this problem. I tried with : apt-get install libc6:i386
and apt-get install ia32-libs but this is the
output I receive Unable to locate package ia32-libs.
Can someone help me?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
--
Sent from Gmail Mobile
---------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. Views or opinions, if any,
presented in this email are solely those of the author and may not
necessarily reflect the views or opinions of SSN Institutions (SSN) or its
affiliates. Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of this message without the
prior written consent of authorized representative of SSN is strictly
prohibited. If you have received this email in error please delete it and
notify the sender immediately.
---------------------------------------------------------------------
Header of this mail should have a valid DKIM signature for the domain ssn.edu.in <http://www.ssn.edu.in/>
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Greg King
2017-04-11 12:52:56 UTC
Permalink
I'm a new user of this community and in programming; so, sorry if I
made some mistake. And, please try to be as clear as possible; for me,
everything is new.
I have problem to complete the first example, to start contiki with
zolertia z1.
In particular, I have problem with |make login|.
This is the output I receive (I'm working with Windows and
InstantContiki3.0).
|../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255 |
I tried a lot of solutions already proposed; but, I still have this
problem. I tried with: |apt-get install libc6:i386| and |apt-get
install ia32-libs|; but, this is the output I receive |Unable to locate
package ia32-libs|.
You must fix a bug in the program. Go to its directory. Use the SED
program to repair the source code. Then, rebuild the program. Type
these commands:

cd ~/contiki/tools/sky
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/p' serialdump.c
make

Go back to the hello-world example. Do "make login".
Domenico Vito Scalera
2017-04-11 13:54:01 UTC
Permalink
Hi Greg,
I did what you told me:
***@instant-contiki:~/contiki/tools/sky$ sudo sed -ie 's/\(ifdef
O_\)SYNC/\1DIRECT/p' serialdump.c
***@instant-contiki:~/contiki/tools/sky$ make
cc -O2 -o serialdump-linux serialdump.c
serialdump.c:167:0: error: unterminated #ifdef
#ifdef O_DIRECT
^
make: *** [serialdump-linux] Error 1
***@instant-contiki:~/contiki/tools/sky$ sudo sed -ie 's/\(ifdef
O_\)SYNC/\1DIRECT/p' seialdump.c
sed: can't read seialdump.c: No such file or directory

Do you know what is it?
Thank you for your time
Post by Greg King
I'm a new user of this community and in programming; so, sorry if I
made some mistake. And, please try to be as clear as possible; for me,
everything is new.
I have problem to complete the first example, to start contiki with
zolertia z1.
In particular, I have problem with |make login|.
This is the output I receive (I'm working with Windows and
InstantContiki3.0).
|../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255 |
I tried a lot of solutions already proposed; but, I still have this
problem. I tried with: |apt-get install libc6:i386| and |apt-get
install ia32-libs|; but, this is the output I receive |Unable to locate
package ia32-libs|.
You must fix a bug in the program. Go to its directory. Use the SED
program to repair the source code. Then, rebuild the program. Type
cd ~/contiki/tools/sky
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/p' serialdump.c
make
Go back to the hello-world example. Do "make login".
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Greg King
2017-04-11 21:55:54 UTC
Permalink
Post by Greg King
Post by Greg King
You must fix a bug in the program. Go to its directory. Use the SED
program to repair the source code. Then, rebuild the program. Type
cd ~/contiki/tools/sky
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/p' serialdump.c
make
Go back to the hello-world example. Do "make login".
O_\)SYNC/\1DIRECT/p' serialdump.c
cc -O2 -o serialdump-linux serialdump.c
serialdump.c:167:0: error: unterminated #ifdef
#ifdef O_DIRECT
^
make: *** [serialdump-linux] Error 1
O_\)SYNC/\1DIRECT/p' seialdump.c
sed: can't read seialdump.c: No such file or directory
Do you know what is it?
The second error is only a misspelled file-name.

The first error was caused by my misunderstanding of what the "p" in
that sed command does (it put a second "#ifdef O_DIRECT" into the file).
You can fix it by starting from the beginning. Get a fresh copy of
the file from the Git repository. Then, fix it, as I showed you before
(but, without the "p"):

cd ~/contiki/tools/sky
git checkout serialdump.c
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/' serialdump.c
make

(Note that you do not need to use "sudo" in any of those commands.)
Domenico Vito Scalera
2017-04-12 09:43:33 UTC
Permalink
Thank you very much Greg and to everyone for your help, now it works.
Post by Greg King
Post by Greg King
Post by Greg King
You must fix a bug in the program. Go to its directory. Use the SED
program to repair the source code. Then, rebuild the program. Type
cd ~/contiki/tools/sky
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/p' serialdump.c
make
Go back to the hello-world example. Do "make login".
O_\)SYNC/\1DIRECT/p' serialdump.c
cc -O2 -o serialdump-linux serialdump.c
serialdump.c:167:0: error: unterminated #ifdef
#ifdef O_DIRECT
^
make: *** [serialdump-linux] Error 1
O_\)SYNC/\1DIRECT/p' seialdump.c
sed: can't read seialdump.c: No such file or directory
Do you know what is it?
The second error is only a misspelled file-name.
The first error was caused by my misunderstanding of what the "p" in
that sed command does (it put a second "#ifdef O_DIRECT" into the file).
You can fix it by starting from the beginning. Get a fresh copy of
the file from the Git repository. Then, fix it, as I showed you before
cd ~/contiki/tools/sky
git checkout serialdump.c
sed -ie 's/\(ifdef O_\)SYNC/\1DIRECT/' serialdump.c
make
(Note that you do not need to use "sudo" in any of those commands.)
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Contiki-developers mailing list
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Loading...