도와주세요!!
글 수 15,339
2007.10.29 14:59:45 (*.82.68.226)
6674
안녕하세요..
/usr/arm-linux/sys-include 디렉토리가 있나요??
만약 없다면... EZ-X5용 커널에서 include 디렉토리를 /usr/arm-linux/sys-include 로 복사를 하세요..
커널디렉토리 : linux-2.4.19-x5-v07
# cp -a linux-2.4.19-x5-v07/include /usr/arm-linux/sys-include
이렇게 복사하시고 다시 컴파일을 해 보세요..
그럼 수고하세요..
>$./configure -embedded arm -shared -depths 16 -thread -no-cups -qt-libjpeg -qt-imgfmt-jpeg -qt-mouse-linuxtp
>하고
>$make
>를 하니깐 마지막부분에 에러메세지가 나오는데 어떻게 해결해야하죠?
>크로스3.2.1이구요 qte,qtx 전부 3.3.6버전이에요
>ppt자료보면서 했는데 ㅜㅜ
>
>luded from /usr/arm-linux/include/sys/ioctl.h:27,
> from kernel/qsoundqss_qws.cpp:47:
>/usr/arm-linux/include/bits/ioctls.h:24:24: asm/ioctls.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>In file included from /usr/arm-linux/include/sys/ioctl.h:30,
> from kernel/qsoundqss_qws.cpp:47:
>/usr/arm-linux/include/bits/ioctl-types.h:25:24: asm/ioctls.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>In file included from kernel/qsoundqss_qws.cpp:48:
>/usr/arm-linux/include/sys/soundcard.h:1:29: linux/soundcard.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>kernel/qsoundqss_qws.cpp: In member function `void
> QWSSoundServerData::feedDevice(int)':
>kernel/qsoundqss_qws.cpp:293: `audio_buf_info' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:293: (Each undeclared identifier is reported only once
> for each function it appears in.)
>kernel/qsoundqss_qws.cpp:293: parse error before `;' token
>kernel/qsoundqss_qws.cpp:294: `SNDCTL_DSP_GETOSPACE' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:294: `info' undeclared (first use this function)
>kernel/qsoundqss_qws.cpp: In member function `bool
> QWSSoundServerData::openDevice()':
>kernel/qsoundqss_qws.cpp:404: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use
> this function)
>kernel/qsoundqss_qws.cpp:407: `AFMT_S16_LE' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:407: `SNDCTL_DSP_SETFMT' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:417: `SNDCTL_DSP_STEREO' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:424: `SNDCTL_DSP_SPEED' undeclared (first use this
> function)
>make[2]: *** [.obj/release-shared-mt-emb-arm/qsoundqss_qws.o] 오 류 1
>make[2]: Leaving directory `/qt/qte-3.3.6/src'
>make[1]: *** [sub-src] 오 류 2
>make[1]: Leaving directory `/qt/qte-3.3.6'
>make: *** [init] 오 류 2
/usr/arm-linux/sys-include 디렉토리가 있나요??
만약 없다면... EZ-X5용 커널에서 include 디렉토리를 /usr/arm-linux/sys-include 로 복사를 하세요..
커널디렉토리 : linux-2.4.19-x5-v07
# cp -a linux-2.4.19-x5-v07/include /usr/arm-linux/sys-include
이렇게 복사하시고 다시 컴파일을 해 보세요..
그럼 수고하세요..
>$./configure -embedded arm -shared -depths 16 -thread -no-cups -qt-libjpeg -qt-imgfmt-jpeg -qt-mouse-linuxtp
>하고
>$make
>를 하니깐 마지막부분에 에러메세지가 나오는데 어떻게 해결해야하죠?
>크로스3.2.1이구요 qte,qtx 전부 3.3.6버전이에요
>ppt자료보면서 했는데 ㅜㅜ
>
>luded from /usr/arm-linux/include/sys/ioctl.h:27,
> from kernel/qsoundqss_qws.cpp:47:
>/usr/arm-linux/include/bits/ioctls.h:24:24: asm/ioctls.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>In file included from /usr/arm-linux/include/sys/ioctl.h:30,
> from kernel/qsoundqss_qws.cpp:47:
>/usr/arm-linux/include/bits/ioctl-types.h:25:24: asm/ioctls.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>In file included from kernel/qsoundqss_qws.cpp:48:
>/usr/arm-linux/include/sys/soundcard.h:1:29: linux/soundcard.h: 그 런 파 일 이 나 디 렉 토 리 가 없 음
>kernel/qsoundqss_qws.cpp: In member function `void
> QWSSoundServerData::feedDevice(int)':
>kernel/qsoundqss_qws.cpp:293: `audio_buf_info' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:293: (Each undeclared identifier is reported only once
> for each function it appears in.)
>kernel/qsoundqss_qws.cpp:293: parse error before `;' token
>kernel/qsoundqss_qws.cpp:294: `SNDCTL_DSP_GETOSPACE' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:294: `info' undeclared (first use this function)
>kernel/qsoundqss_qws.cpp: In member function `bool
> QWSSoundServerData::openDevice()':
>kernel/qsoundqss_qws.cpp:404: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use
> this function)
>kernel/qsoundqss_qws.cpp:407: `AFMT_S16_LE' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:407: `SNDCTL_DSP_SETFMT' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:417: `SNDCTL_DSP_STEREO' undeclared (first use this
> function)
>kernel/qsoundqss_qws.cpp:424: `SNDCTL_DSP_SPEED' undeclared (first use this
> function)
>make[2]: *** [.obj/release-shared-mt-emb-arm/qsoundqss_qws.o] 오 류 1
>make[2]: Leaving directory `/qt/qte-3.3.6/src'
>make[1]: *** [sub-src] 오 류 2
>make[1]: Leaving directory `/qt/qte-3.3.6'
>make: *** [init] 오 류 2
저도 같은 증상이였는데 커널안에 있는 include 폴더를 /usr/arm-linux/sys-include로 복사해주니 해결됩니다.
참고로 저는 3.3.6이였습니다.