[SOLVED]error asm/io.h : no such file directory

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
buntok_ojs
Posts: 6
Joined: 17 May 2012, 01:06

[SOLVED]error asm/io.h : no such file directory

Postby buntok_ojs » 08 May 2013, 16:24

#include
#include
#include
#include

#define base 0x378 /* printer port base address */
#define value 255 /* numeric value to send to printer port */

main(int argc, char **argv)
{
if (ioperm(base,1,1))
fprintf(stderr, "Couldn't get the port at %x\n", base), exit(1);

outb(value, base);
}

Tolong dong kenapa source code itu kalau di kompile pake gcc selalu.
asm/io.h : no such file directory
User avatar
buntok_ojs
Posts: 6
Joined: 17 May 2012, 01:06

Re: [help]error asm/io.h : no such file directory

Postby buntok_ojs » 08 May 2013, 17:01

oke


terima kasih gan,,udah tidak error sekarang
User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Re: [help]error asm/io.h : no such file directory

Postby nif » 08 May 2013, 17:02

sama2 :smile:
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: [help]error asm/io.h : no such file directory

Postby offline » 08 May 2013, 17:14

buntok_ojs wrote:oke


terima kasih gan,,udah tidak error sekarang

problem SOLVED! :grin:

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 15 guests