도와주세요!!
글 수 15,339
2002.08.14 16:38:48 (*.195.21.129)
7881
cd에서 제공되는 microwindows-0.89pre8_arm 파일을 mw폴더 만들어서 압축을
풀었습니다.
그리고 config파일을 수정하구요..
nano-X 설정부분이 초기에 3군데 나오잖아요..
그걸 Y로 설정하면 에러가 나거든요...
메뉴얼대로..
make clean; make 했을때..
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:115: undefined
reference to `ioctl_setpalette'
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:73: undefined
reference to `scrdev'
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:73: undefined
reference to `set_subdriver'
/mw/microwindows-0.89pre8_arm/src/lib/libmwdrivers.a(kbd_ttyscan.o): In
function `switch_vt':
/mw/microwindows-0.89pre8_arm/src/drivers/kbd_ttyscan.c:585: undefined
reference to `ioctl_getpalette'
/mw/microwindows-0.89pre8_arm/src/drivers/kbd_ttyscan.c:603: undefined
reference to `ioctl_setpalette'
collect2: ld returned 1 exit status
make[1]: *** [/mw/microwindows-0.89pre8_arm/src/bin/nano-X] 오류 1
make[1]: 나감 `/mw/microwindows-0.89pre8_arm/src/nanox' 디렉토리
make: *** [subdirs] 오류 2
이런 에러가 납니다...
그리고 /src/bin 밑에 nano-X라는 폴더가 없습니다.
컴파일이 제대로 안되서 없는건지.. 아님.. 원래 안되게 되어있는지..조차도
잘 모르겠네요...
그 밖에 여러 부분을 고쳐 봤는데.. 제대로 되지는 않습니다..
nanox N 를 하면.. 에러도 없고
bin 디렉토리 밑에 여러 데모용 파일이 생성되서
제 피시에서 실행이 되는건 확인 했습니다...
p.s 좀전에 다시 확인하고 왔습니다...
nanox N 를 하고 make를 하면 mdemo를 비롯한 파일이 생성되지만.
# make clean; make
라는 명령을 내렸을 경우에도 오류가 납니다..
/////
gcc -DX11=1 -I. -I/mw/microwindows-0.89pre8_arm/src/include -Wall -O3 -
ggdb -L/usr/X11R6/lib -lX11 -L/mw/microwindows-0.89pre8_arm/src/lib
mine.o mineflag.o mineface.o minefacelost.o minebomb.o minedone.o
minehitfalse.o -o /mw/microwindows-0.89pre8_arm/src/bin/mine -lmwin -
lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwin -lmwimages -lm
gcc -DX11=1 -I. -I/mw/microwindows-0.89pre8_arm/src/include -Wall -O3 -
ggdb -L/usr/X11R6/lib -lX11 -L/mw/microwindows-0.89pre8_arm/src/lib
mo_fix.o -o /mw/microwindows-0.89pre8_arm/src/bin/mo_fix -lmwin -
lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwin -lmwimages -lm
mo_fix.o: In function `PointSet':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:114: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:115: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:117: undefined
reference to `MK712_end_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:116: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:73: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:74: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:75: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:76: undefined
reference to `MK712_end_dy'
mo_fix.o: In function `wproc':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:155: undefined
reference to `MK712_xdata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:156: undefined
reference to `MK712_ydata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:161: undefined
reference to `MK712_xdata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:162: undefined
reference to `MK712_ydata'
mo_fix.o: In function `PointSave':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:73: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:74: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:75: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:76: undefined
reference to `MK712_end_dy'
collect2: ld returned 1 exit status
make[2]: *** [/mw/microwindows-0.89pre8_arm/src/bin/mo_fix] 오류 1
rm minebomb.c minehitfalse.c minedone.c mineflag.c minefacelost.c
mineface.c
make[2]: 나감 `/mw/microwindows-0.89pre8_arm/src/demos/mwin' 디렉토리
make[2]: 들어감 `/mw/microwindows-0.89pre8_arm/src/demos/mwobjects' 디렉
토리
make[2]: Nothing to be done for `default'.
//////
이궁.. 머가 먼지 몰긋당..ㅜㅜ
혹시.. 마이크로윈도우도 패스 잡아 주는게 있나요?
만약 있다면.. 어느 파일에 어케 잡아주는지 갈쳐 주세요~~~
풀었습니다.
그리고 config파일을 수정하구요..
nano-X 설정부분이 초기에 3군데 나오잖아요..
그걸 Y로 설정하면 에러가 나거든요...
메뉴얼대로..
make clean; make 했을때..
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:115: undefined
reference to `ioctl_setpalette'
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:73: undefined
reference to `scrdev'
/mw/microwindows-0.89pre8_arm/src/drivers/vtswitch.c:73: undefined
reference to `set_subdriver'
/mw/microwindows-0.89pre8_arm/src/lib/libmwdrivers.a(kbd_ttyscan.o): In
function `switch_vt':
/mw/microwindows-0.89pre8_arm/src/drivers/kbd_ttyscan.c:585: undefined
reference to `ioctl_getpalette'
/mw/microwindows-0.89pre8_arm/src/drivers/kbd_ttyscan.c:603: undefined
reference to `ioctl_setpalette'
collect2: ld returned 1 exit status
make[1]: *** [/mw/microwindows-0.89pre8_arm/src/bin/nano-X] 오류 1
make[1]: 나감 `/mw/microwindows-0.89pre8_arm/src/nanox' 디렉토리
make: *** [subdirs] 오류 2
이런 에러가 납니다...
그리고 /src/bin 밑에 nano-X라는 폴더가 없습니다.
컴파일이 제대로 안되서 없는건지.. 아님.. 원래 안되게 되어있는지..조차도
잘 모르겠네요...
그 밖에 여러 부분을 고쳐 봤는데.. 제대로 되지는 않습니다..
nanox N 를 하면.. 에러도 없고
bin 디렉토리 밑에 여러 데모용 파일이 생성되서
제 피시에서 실행이 되는건 확인 했습니다...
p.s 좀전에 다시 확인하고 왔습니다...
nanox N 를 하고 make를 하면 mdemo를 비롯한 파일이 생성되지만.
# make clean; make
라는 명령을 내렸을 경우에도 오류가 납니다..
/////
gcc -DX11=1 -I. -I/mw/microwindows-0.89pre8_arm/src/include -Wall -O3 -
ggdb -L/usr/X11R6/lib -lX11 -L/mw/microwindows-0.89pre8_arm/src/lib
mine.o mineflag.o mineface.o minefacelost.o minebomb.o minedone.o
minehitfalse.o -o /mw/microwindows-0.89pre8_arm/src/bin/mine -lmwin -
lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwin -lmwimages -lm
gcc -DX11=1 -I. -I/mw/microwindows-0.89pre8_arm/src/include -Wall -O3 -
ggdb -L/usr/X11R6/lib -lX11 -L/mw/microwindows-0.89pre8_arm/src/lib
mo_fix.o -o /mw/microwindows-0.89pre8_arm/src/bin/mo_fix -lmwin -
lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwin -lmwimages -lm
mo_fix.o: In function `PointSet':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:114: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:115: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:117: undefined
reference to `MK712_end_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:116: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:73: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:74: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:75: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:76: undefined
reference to `MK712_end_dy'
mo_fix.o: In function `wproc':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:155: undefined
reference to `MK712_xdata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:156: undefined
reference to `MK712_ydata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:161: undefined
reference to `MK712_xdata'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:162: undefined
reference to `MK712_ydata'
mo_fix.o: In function `PointSave':
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:73: undefined
reference to `MK712_start_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:74: undefined
reference to `MK712_start_dy'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:75: undefined
reference to `MK712_end_dx'
/mw/microwindows-0.89pre8_arm/src/demos/mwin/mo_fix.c:76: undefined
reference to `MK712_end_dy'
collect2: ld returned 1 exit status
make[2]: *** [/mw/microwindows-0.89pre8_arm/src/bin/mo_fix] 오류 1
rm minebomb.c minehitfalse.c minedone.c mineflag.c minefacelost.c
mineface.c
make[2]: 나감 `/mw/microwindows-0.89pre8_arm/src/demos/mwin' 디렉토리
make[2]: 들어감 `/mw/microwindows-0.89pre8_arm/src/demos/mwobjects' 디렉
토리
make[2]: Nothing to be done for `default'.
//////
이궁.. 머가 먼지 몰긋당..ㅜㅜ
혹시.. 마이크로윈도우도 패스 잡아 주는게 있나요?
만약 있다면.. 어느 파일에 어케 잡아주는지 갈쳐 주세요~~~