On Wed, 2007-08-22 at 20:56 +0100, Adrian McMenamin wrote:
> Getting this with the ST uclibc 4.1 compiler:
>
> ERROR: "__udivsi3_i4i" [sound/sh/snd-aica.ko] undefined!
> ERROR: "__sdivsi3_i4i" [sound/sh/snd-aica.ko] undefined!
> ERROR: "__sdivsi3_i4i" [sound/core/snd-timer.ko] undefined!
> ERROR: "__udivsi3_i4i" [sound/core/snd-pcm.ko] undefined!
> ERROR: "__udivsi3_i4i" [sound/core/snd-page-alloc.ko] undefined!
> ERROR: "__udivsi3_i4i" [sound/core/oss/snd-pcm-oss.ko] undefined!
> ERROR: "__sdivsi3_i4i" [sound/core/oss/snd-mixer-oss.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> This is an old error, though, isn't it? I thought it was fixed some time
> ago?
Further to this - this is my compiler version:
adrian@bossclass:~/sh-2.6.23
$ /opt/STM/STLinux-2.3ear/devkit/sh4/bin/sh4-linux-uclibc-gcc --v
Using built-in specs.
Target: sh4-linux-uclibc
Configured with: ../configure --host=i686-pc-linux-gnu
--target=sh4-linux-uclibc --prefix=/opt/STM/STLinux-2.3ear/devkit/sh4
--exec-prefix=/opt/STM/STLinux-2.3ear/devkit/sh4
--bindir=/opt/STM/STLinux-2.3ear/devkit/sh4/bin
--sbindir=/opt/STM/STLinux-2.3ear/devkit/sh4/sbin
--sysconfdir=/opt/STM/STLinux-2.3ear/devkit/sh4/etc
--datadir=/opt/STM/STLinux-2.3ear/devkit/sh4/share
--includedir=/opt/STM/STLinux-2.3ear/devkit/sh4/include
--libdir=/opt/STM/STLinux-2.3ear/devkit/sh4/lib
--libexecdir=/opt/STM/STLinux-2.3ear/devkit/sh4/libexec
--localstatedir=/opt/STM/STLinux-2.3ear/devkit/sh4/var
--sharedstatedir=/opt/STM/STLinux-2.3ear/devkit/sh4/share
--mandir=/opt/STM/STLinux-2.3ear/devkit/sh4/man
--infodir=/opt/STM/STLinux-2.3ear/devkit/sh4/info
--program-prefix=sh4-linux-uclibc-
--with-local-prefix=/opt/STM/STLinux-2.3ear/devkit/sh4
--with-sysroot=/opt/STM/STLinux-2.3ear/devkit/sh4/uclibc_target
--enable-languages=c,c++ --enable-threads=posix --enable-nls
--enable-c99 --enable-long-long --with-system-zlib --enable-shared
--enable-multilib --disable-libssp --disable-libmudflap
--enable-target-optspace --disable-__cxa_atexit
Thread model: posix
gcc version 4.1.1 (STMicroelectronics Special) [build Apr 30 2007]
For some reason the earlier patch isn't being picked by it. Is
__GNUC_STM_RELEASE__ still defined for this compiler, does anyone know?
Thanks
|