Your message dated Mon, 18 Sep 2006 07:46:04 -0400 with message-id <[EMAIL PROTECTED]> and subject line Bug#387993: libstdc++6-4.1-dev: undefined reference to [EMAIL PROTECTED]' has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: libstdc++6-4.1-dev Version: 4.1.1-13 Severity: normal File: /usr/lib/gcc/i486-linux-gnu/4.1.2/libstdc++.so Dear Maintainer, I am sorry if my bug report is pure ignorance of the matter: I hope that you would highlight the situation for me at least if it is so After recent upgrade, mcc (Matlab compiler fails to compile) with next error messages: r14sp3 release of matlab: -> gcc -O -pthread -o test test_main.o test_mcc_component_data.o -Wl,-rpath-link,/share/apps/matlab_r14sp3/bin/glnx86 -L/share/apps/matlab_r14sp3/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ /usr/bin/ld: warning: libstdc++.so.5, needed by /share/apps/matlab_r14sp3/bin/glnx86/libmwmclmcrrt.so, may conflict with libstdc++.so.6 /usr/lib/gcc/i486-linux-gnu/4.1.2/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/gcc/i486-linux-gnu/4.1.2/libstdc++.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status mbuild: link of 'test' failed. Error: An error occurred while shelling out to mbuild (error code = 256). Unable to build executable. 2006b release of matlab: -> gcc -O -pthread -o test test_main.o test_mcc_component_data.o -Wl,-rpath-link,/share/apps/matlab_r2006b/bin/glnx86 -L/share/apps/matlab_r2006b/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ /usr/lib/gcc/i486-linux-gnu/4.1.2/libstdc++.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status mbuild: link of 'test' failed. Please advise -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16.20-ravana Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages libstdc++6-4.1-dev depends on: ii g++-4.1 4.1.1-13 The GNU C++ compiler ii gcc-4.1-base 4.1.1-13 The GNU Compiler Collection (base ii libc6-dev 2.3.6-13 GNU C Library: Development Librari ii libstdc++6 4.1.1-13 The GNU Standard C++ Library v3 libstdc++6-4.1-dev recommends no packages. -- no debconf information --Yarik
--- End Message ---
--- Begin Message ---Thank you Bastian! I've adjusted matlab_r2006b/bin/mbuildopts.sh on the box to use g++ as the linked and it works now fine ;-) Thank you very much and once again, sorry for the ignorance ;-) P.S. I am closing the "bug" since the issue got resolved P.S.S. Vladimir - just use the most recent r2006b release of Matlab ;-) On Mon, 18 Sep 2006, Bastian Blank wrote: > On Sun, Sep 17, 2006 at 06:27:26PM -0400, Yaroslav Halchenko wrote: > > After recent upgrade, mcc (Matlab compiler fails to compile) with next > > error messages: > This update changed the default compiler from gcc-3.3 to gcc-4.0. > > r14sp3 release of matlab: > > -> gcc -O -pthread -o test test_main.o test_mcc_component_data.o > > -Wl,-rpath-link,/share/apps/matlab_r14sp3/bin/glnx86 > > -L/share/apps/matlab_r14sp3/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ > > /usr/bin/ld: warning: libstdc++.so.5, needed by > > /share/apps/matlab_r14sp3/bin/glnx86/libmwmclmcrrt.so, may conflict with > > libstdc++.so.6 > Read this line carefully. matlab wants libstdc++.so.5, the new binary > wants libstdc++.so.6. You have to explicitely use g++-3.3. > > 2006b release of matlab: > > -> gcc -O -pthread -o test test_main.o test_mcc_component_data.o > > -Wl,-rpath-link,/share/apps/matlab_r2006b/bin/glnx86 > > -L/share/apps/matlab_r2006b/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ > You try to link c++ executables with gcc. This is not supposed to work. > Use g++ instead. > Nothing here is a bug. > Bastian -- .-. =------------------------------ /v\ ----------------------------= Keep in touch // \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User ^^-^^ [175555]pgpDgvSKdMeYw.pgp
Description: PGP signature
--- End Message ---