arm-linux-gcc 로 컴파일 중 ㅠ_ㅠ make 오류 1

ghostsniper의 이미지


현재 임베디드 기계 (한백소프트 - empos2 )기계로 크로스컴파일중인데
다음 오류로 ㅠ_ㅠ 진행이 되질 않아서 올려봅니다..ㅠㅠ

root@sangjin-VirtualBox:/# make
arm-linux-gcc -D__KERNEL__ -DMODULE -Wall -O2 -I/usr/local/linux-2.4.19-rmk4-pax2-empx1/include -c -o test.o test.c
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:16,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/kdev_t.h:80: warning: `major' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/sysmacros.h:28: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/kdev_t.h:81: warning: `minor' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/sysmacros.h:29: warning: this is the location of the previous definition
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:12: warning: `S_IFMT' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:101: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:13: warning: `S_IFSOCK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:114: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:14: warning: `S_IFLNK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:110: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:15: warning: `S_IFREG' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:105: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:16: warning: `S_IFBLK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:104: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:17: warning: `S_IFDIR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:102: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:18: warning: `S_IFCHR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:103: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:19: warning: `S_IFIFO' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:107: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:20: warning: `S_ISUID' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:155: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:21: warning: `S_ISGID' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:156: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:22: warning: `S_ISVTX' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:160: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:24: warning: `S_ISLNK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:130: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:25: warning: `S_ISREG' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:125: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:26: warning: `S_ISDIR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:122: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:27: warning: `S_ISCHR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:123: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:28: warning: `S_ISBLK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:124: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:29: warning: `S_ISFIFO' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:127: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:30: warning: `S_ISSOCK' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:138: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:32: warning: `S_IRWXU' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:167: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:33: warning: `S_IRUSR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:163: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:34: warning: `S_IWUSR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:164: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:35: warning: `S_IXUSR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:165: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:37: warning: `S_IRWXG' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:179: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:38: warning: `S_IRGRP' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:175: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:39: warning: `S_IWGRP' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:176: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:40: warning: `S_IXGRP' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:177: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:42: warning: `S_IRWXO' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:185: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:43: warning: `S_IROTH' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:181: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:44: warning: `S_IWOTH' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:182: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:45: warning: `S_IXOTH' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/stat.h:183: warning: this is the location of the previous definition
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/affs_fs_i.h:7,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:304,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:106: warning: `FD_SET' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/select.h:83: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:107: warning: `FD_CLR' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/select.h:84: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:108: warning: `FD_ISSET' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/select.h:85: warning: this is the location of the previous definition
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:109: warning: `FD_ZERO' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/select.h:86: warning: this is the location of the previous definition
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fcntl.h:4,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:613,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/fcntl.h:18: warning: `FASYNC' redefined
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/bits/fcntl.h:167: warning: this is the location of the previous definition
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/stat.h:6,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/stat.h:18: redefinition of `struct stat'
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/affs_fs_i.h:7,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:304,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:9: redefinition of `struct timespec'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:88: redefinition of `struct timeval'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:90: parse error before `suseconds_t'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/time.h:90: warning: no semicolon at end of struct or union
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:306,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/efs_fs_i.h:13: parse error before `efs_ino_t'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/efs_fs_i.h:13: warning: data definition has no type or storage class
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/efs_fs_i.h:48: parse error before `uint32_t'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/efs_fs_i.h:48: warning: no semicolon at end of struct or union
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/efs_fs_i.h:56: parse error before `}'
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/coda_fs_i.h:14,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:307,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/coda.h:109: warning: redefinition of `u_quad_t'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/sys/types.h:38: warning: `u_quad_t' previously declared here
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fcntl.h:4,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:613,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:20,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/fcntl.h:69: redefinition of `struct flock'
In file included from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/termios.h:5,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/tty.h:22,
from /usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fb.h:4,
from test.c:11:
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/termios.h:7: redefinition of `struct winsize'
/usr/cross-tools/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/termios.h:15: redefinition of `struct termio'
test.c: In function `gamestart':
test.c:79: warning: assignment makes integer from pointer without a cast
test.c:79: warning: suggest parentheses around assignment used as truth value
test.c:83: warning: assignment makes integer from pointer without a cast
test.c:83: warning: suggest parentheses around assignment used as truth value
make: *** [test.o] 오류 1

----------------------------------------------------------------------------------위는 오류 메세지 이고요 ....
다음은 소스 내용 입니다..ㅠㅠ

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

#define XPOS1 0
#define YPOS1 0
#define XPOS2 640
#define YPOS2 480

static int dev,dev2,dev3; //dev - vkey , dev2 - lcd, dev3 - touch
static unsigned char vkey;
typedef unsigned char ubyte;

void usrsignal(int sig)
{
read(dev,&vkey,1);
}

unsigned short makepixel(ubyte r,ubyte g ,ubyte b)
{
return (unsigned short)(((r>>3)<<11)|((g>>2)<<6)|(b>>3));
}

void gametime() //jiffies값을 읽어올 read가 필요하다. 이것을 읽어와서
//printf로 출력해야되는 방법이 필요.
{
printf("aa");
}

void rank() //걸린 시간값을 받아와서 순위를 매기는 for문을 만들면됨.
{
printf("bb");
}
void gamestart()
{
int t;
int tt;
unsigned short pixel;
unsigned short *pfbdata;
int offset=0;
int status;
struct fb_var_screeninfo fbvar;
struct fb_var_screeninfo fbfix;
dev2 = open("/dev/fb", O_RDWR);
dev3 = open("/dev/touch0", O_RDWR);

if("/dev/fb"<0)
{
printf("Error fbdev open\n");
exit(1);
}
if("/dev/touch0"<0)
{
printf("Error touch0dev open\n");
exit(1);
}

status = ioctl(dev2,FBIOGET_VSCREENINFO,&fbvar);
if(status < 0)
{
printf("Error fbdev ioctl(FSCREENINFO)\n");
exit(1);
}
status = ioctl(dev2,FBIOGET_FSCREENINFO,&fbfix);
if(status < 0)
{
printf("Error fbdev ioctl(FSCREENINFO)\n");
exit(1);
}

if(fbvar.xres = NULL) //입력값이 없다면
{
printf("aa");
}
if(fbvar.yres = NULL)
{
printf("bb");
}
else //터치스크린에 입력값이 있다면.
{
printf("Game over");
exit(1);
}

pfbdata = (unsigned short *)mmap(0,XPOS2*YPOS2*2,PROT_READ|PROT_WRITE,MAP_SHARED,dev2,0);

if((unsigned)pfbdata == (unsigned)-1)
{
printf("Error fbdev mmap\n");
exit(1);
}
pixel = makepixel(255,255,255);
for(t = YPOS1; t {
offset = t * XPOS2;
for(tt = XPOS1; tt < XPOS2; tt++)
{
*(pfbdata + offset + tt) = pixel;
}
}
munmap(pfbdata, XPOS2*YPOS2);
close(dev2);

}

int main(void)
{
pid_t id;
int quit = 1;
dev = open("/dev/pushbuttonport", O_RDWR);
if(dev < 0)
{
printf("application : push button driver open fails!\n");
return -1;
}

(void)signal(SIGUSR1,usrsignal);

id = getpid();
write(dev,&id,4);

printf("press the push button!\n");

while(quit){
switch(vkey){
case 0x0:
break;
case 0x1:
printf("1th button is pressed \n");
vkey = 0;
break;
case 0x2:
printf("2th button is pressed \n");
vkey = 0;
break;
case 0x4:
printf("3th button is pressed \n");
vkey = 0;
break;
case 0x8:
printf("4th button is pressed \n");
vkey = 0;
break;
case 0x10:
printf("5th button is pressed \n");
vkey = 0;
break;
case 0x20:
printf("6th button is pressed \n");
vkey = 0;
break;
case 0x40:
printf("Rank !!!\n");
rank();
vkey = 0;
break; //rank
case 0x80:
printf("Game Start!");
gamestart();
gametime();
vkey = 0;
break; //game start
case 0x3 :
printf("1th & 2th button is pressed \n");
vkey = 0;
break;

default :
quit = 0;
printf("vkey is 0x%x\nQuit the program\n",vkey);
break;
}
}
close(dev);
return 0;
}
//터치를 이용한 인식말고 vkey(6번)키를 이용하여 색이 변하는 순간 vkey를 눌렀을 시 게임오버가 될 수 있도록 하여도 된다.

///무엇이 문제인걸까요..ㅠㅠㅠㅠ
하나 의문이 드는건 fb.h를 쓰게 되면 꼭 저런 오류메세지가 나온다는게 가장 의문입니다.ㅠㅠㅠㅠ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.