>> Delete No. 20903 article
No. [질문]compile 할때 생기는 오류 해결방법은?

등록 2001-02-15 09:17:00 By localhost     조회 2
이름 서동규    

		crazy guestbook의 source로 compile하면 아래와 같이 에러가 생기는
데 해결방법 알수 없을까요..
왕초보랍니다. 구체적으로 알고 싶어요.
 [root@linux guestbook-3.2.2]# ./Install-sh
---- CrazyGuestbook Installation Manager
 ---- Step 1. Compiling CrazyGuestbook.cgi
rm -f qDecoder.o cgb.o cgb_list.o cgb_write.o cgb_delete.o cgb_admin.o
CrazyGue
gcc -Wall         -c -o qDecoder.o qDecoder.c
qDecoder.c: In function `qContentType':
qDecoder.c:413: warning: type defaults to `int' in declaration of `flag'
gcc -Wall         -c -o cgb.o cgb.c
In file included from cgb.c:17:
cgb_list.h:1:38: warning: no newline at end of file
In file included from cgb.c:19:
cgb_delete.h:1:40: warning: no newline at end of file
In file included from cgb.c:20:
cgb_admin.h:3:43: warning: no newline at end of file
cgb.c:26: warning: return type of `main' is not `int'
cgb.c: In function `main':
cgb.c:42: warning: implicit declaration of function `strcmp'
gcc -Wall         -c -o cgb_list.o cgb_list.c
In file included from cgb_list.c:6:
cgb_list.h:1:38: warning: no newline at end of file
gcc -Wall         -c -o cgb_list.o cgb_list.c
In file included from cgb_list.c:6:
cgb_list.h:1:38: warning: no newline at end of file
gcc -Wall         -c -o cgb_write.o cgb_write.c
In file included from cgb_write.c:5:
cgb_list.h:1:38: warning: no newline at end of file
cgb_write.c: In function `write_form0':
cgb_write.c:27: warning: implicit declaration of function `strcmp'
cgb_write.c: In function `cgb_savewrite':
cgb_write.c:114: warning: implicit declaration of function `strlen'
gcc -Wall         -c -o cgb_delete.o cgb_delete.c
In file included from cgb_delete.c:5:
cgb_admin.h:3:43: warning: no newline at end of file
In file included from cgb_delete.c:6:
cgb_delete.h:1:40: warning: no newline at end of file
gcc -Wall         -c -o cgb_admin.o cgb_admin.c
In file included from cgb_admin.c:5:
cgb_admin.h:3:43: warning: no newline at end of file
cgb_admin.c: In function `check_password':
cgb_admin.c:19: warning: implicit declaration of function `strcmp'
gcc -Wall         -o CrazyGuestbook.cgi  qDecoder.o cgb.o cgb_list.o
cgb_write.o
cgb_admin.o: In function `check_password':
cgb_admin.o(.text+0x63): undefined reference to `crypt'
cgb_admin.o: In function `admin_form':
cgb_admin.o(.text+0x2c0): undefined reference to `crypt'
cgb_admin.o: In function `cgb_adminsave':
cgb_admin.o(.text+0xa77): undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [CrazyGuestbook.cgi] 오류 1
 ---- Step 2. Installation...
cp: `CrazyGuestbook.cgi'의 정보(stat)를 얻을 수 없습니다: 그런 파일이나
디렉토맒
 ---- Installation Complete...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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