>> Read No. 16791 article  
gtk+ 에러인데요, 좀 도와주세요. T_T

등록 2001-01-07 09:26:00     조회 1
이름 별아이    

		[root@localhost /root]# gcc helloworld.c
In file included from /usr/include/gdk/gdktypes.h:33,
                 from /usr/include/gdk/gdk.h:31,
                 from /usr/include/gtk/gtk.h:31,
                 from helloworld.c:1:
/usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음
helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args
[root@localhost /root]# gcc -Wall -g helloworld.c -o hello-world 'gtk-config --c
flags' 'gtk-config --libs'
gcc: gtk-config --cflags: 그런 파일이나 디렉토리가 없음
gcc: gtk-config --libs: 그런 파일이나 디렉토리가 없음
In file included from /usr/include/gdk/gdktypes.h:33,
                 from /usr/include/gdk/gdk.h:31,
                 from /usr/include/gtk/gtk.h:31,
                 from helloworld.c:1:
/usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음
helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args
[root@localhost /root]# gcc -Wall -g helloworld.c -o hello-world 'gtk-config --cflags' 'gtk-config --libs' 'glib-config 
--cflags' 'glib-config --libs' gcc: gtk-config --cflags: 그런 파일이나 디렉토리가 없음
gcc: gtk-config --libs: 그런 파일이나 디렉토리가 없음
gcc: glib-config --cflags: 그런 파일이나 디렉토리가 없음
gcc: glib-config --libs: 그런 파일이나 디렉토리가 없음
In file included from /usr/include/gdk/gdktypes.h:33,
                 from /usr/include/gdk/gdk.h:31,
                 from /usr/include/gtk/gtk.h:31,
                 from helloworld.c:1:
/usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음
helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args
[root@localhost /root]# gcc -Wall -g helloworld.c -o hello_world -L/usr/X11R6lib -lgtk -lgdk -lglib -lXext -lX11 -lm
In file included from /usr/include/gdk/gdktypes.h:33,
                 from /usr/include/gdk/gdk.h:31,
                 from /usr/include/gtk/gtk.h:31,
                 from helloworld.c:1:
/usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음
helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args
[root@localhost /root]# find /usr -name gtk-config*.*
/usr/man/man1/gtk-config.1
[root@localhost /root]# find /usr -name glib-config*.*
/usr/man/man1/glib-config.1.gz
[root@localhost /root]#
 음...
그리구, rpm -qa | grep gtk 해서 얻은 값(?)은요
 gtk+-1.2.6-7az
gtk+-devel-1.2.6-7az
gtk-engines-0.10-3
pygtk-0.6.4-1
pygtk-libglade-0.6.4-1
rep-gtk-0.9.1-1az
rep-gtk-libglade-0.9.1-1az
 이구요.
알짜 6.2를 사용하거든요.
gtk-config 라는 파일을 다른 곳에서 다운 받아야 하나요?
아시는 분 있으면 좀 가르쳐주세요.--아~ 또 밤샜당~
그래도 재밌당. ^^
이름
암호


>> 관련글
16791 gtk+ 에러인데요, 좀 도와주세요. T_T  별아이  2001.01.07  ....
  답장 RE: gtk+ 에러인데요, 좀 도와주세요. T_T  철이  2001.01.07  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.57 초 ] 작업시간: [ 0.06 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789661242
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.