LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2013, 04:54 PM   #1
johonn
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
termios.h and unistd.h no such file error


I guess I'll post this here since I can't find a development forum.

I've written programs in the past with these header files included, and have successfully compiled a program using them earlier today, but all of a sudden I tried to compile and got no such file errors.
I'm using a makefile which compiles and uploads to an Arduino UNO.
I've already searched Google for an hour and tried adding several dev packages and the build-essentials package, but nothing fixes the problem.
Thanks for your help!

- johonn
 
Old 03-28-2013, 06:10 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Welcome to LQ.

Debian, Ubuntu and similar : The files have got new locations ..
http://packages.debian.org/wheezy/i3...c-dev/filelist
/usr/include/i386-linux-gnu/asm/termios.h
/usr/include/i386-linux-gnu/asm/unistd.h
http://packages.debian.org/wheezy/am...c-dev/filelist
/usr/include/x86_64-linux-gnu/asm/termios.h
/usr/include/x86_64-linux-gnu/asm/unistd.h

-
 
Old 03-29-2013, 09:04 PM   #3
johonn
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks.

Turns out it was AVR code and as such shouldn't have had those include files. I think my lab partner put them in or something.

Anyway thanks for your reply!

- Johonn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: syntax error before "pid_t" - in unistd.h? borntofish61 Linux - Newbie 3 04-02-2010 04:32 PM
where to include unistd.h Ashok_mittal Linux - General 1 02-25-2008 07:52 AM
What is the packet for unistd.h sys/types.h ? spank Linux - Newbie 3 03-03-2007 11:32 AM
__syscall_return macro in unistd.h havokdrums Linux - Kernel 0 11-11-2006 05:19 AM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration