Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

cc_branch 6594 build faild: no intl library found

<< < (3/5) > >>

Pecan:
I restored my mingw4.3.1 folder from it's original backup.
I copied the extracted contents of :

gettext-0.17-1-mingw32-dev.tar and
libintl-0.17-1-mingw32-dll-8.tar and
gettext-0.17-1-mingw32-bin.tar

to c:\Usr\mingw431\ and rebuilt codeblocks SVN (latest).
It will not compile.
I get the following results:

--- Code: ----------------- Clean: exchndl in Code::Blocks ---------------

Cleaned "Code::Blocks - exchndl"

-------------- Clean: tinyXML in Code::Blocks ---------------

Cleaned "Code::Blocks - tinyXML"

-------------- Clean: AutoRevision in Code::Blocks ---------------

Cleaned "Code::Blocks - AutoRevision"

-------------- Clean: ConsoleRunner in Code::Blocks ---------------

Cleaned "Code::Blocks - ConsoleRunner"

-------------- Clean: Squirrel in Code::Blocks ---------------

Cleaned "Code::Blocks - Squirrel"

-------------- Clean: Squirrel std lib in Code::Blocks ---------------

Cleaned "Code::Blocks - Squirrel std lib"

-------------- Clean: SqPlus in Code::Blocks ---------------

Cleaned "Code::Blocks - SqPlus"

-------------- Clean: scintilla in Code::Blocks ---------------

Cleaned "Code::Blocks - scintilla"

-------------- Clean: wxpropgrid in Code::Blocks ---------------

Cleaned "Code::Blocks - wxpropgrid"

-------------- Clean: sdk in Code::Blocks ---------------

Cleaned "Code::Blocks - sdk"

-------------- Clean: src in Code::Blocks ---------------

Cleaned "Code::Blocks - src"

-------------- Clean: AStyle in Code::Blocks ---------------

Cleaned "Code::Blocks - AStyle"

-------------- Clean: Compiler depslib in Code::Blocks ---------------

Cleaned "Code::Blocks - Compiler depslib"

-------------- Clean: Compiler in Code::Blocks ---------------

Cleaned "Code::Blocks - Compiler"

-------------- Clean: Debugger in Code::Blocks ---------------

Cleaned "Code::Blocks - Debugger"

-------------- Clean: Code-completion in Code::Blocks ---------------

Cleaned "Code::Blocks - Code-completion"

-------------- Clean: Class wizard in Code::Blocks ---------------

Cleaned "Code::Blocks - Class wizard"

-------------- Clean: Default MIME handler in Code::Blocks ---------------

Cleaned "Code::Blocks - Default MIME handler"

-------------- Clean: Open files list in Code::Blocks ---------------

Cleaned "Code::Blocks - Open files list"

-------------- Clean: Scripted wizard in Code::Blocks ---------------

Cleaned "Code::Blocks - Scripted wizard"

-------------- Clean: To-do in Code::Blocks ---------------

Cleaned "Code::Blocks - To-do"

-------------- Clean: Autosave in Code::Blocks ---------------

Cleaned "Code::Blocks - Autosave"

-------------- Clean: XP look & feel in Code::Blocks ---------------

Cleaned "Code::Blocks - XP look & feel"

-------------- Clean: Projects-workspaces importer in Code::Blocks ---------------

Cleaned "Code::Blocks - Projects-workspaces importer"

-------------- Build: exchndl in Code::Blocks ---------------

mingw32-gcc.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE     -IC:\Usr\Proj\wxWidgets2810\include -IC:\Usr\Proj\wxWidgets2810\contrib\include -IC:\Usr\Proj\wxWidgets2810\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Ibase\exchndl\include  -c C:\Usr\Proj\cbBeta\trunk\src\base\exchndl\exchndl.c -o .objs\base\exchndl\exchndl.o
mingw32-g++.exe -shared   -Wl,--dll -Lbase\tinyxml -LC:\Usr\Proj\wxWidgets2810\lib\gcc_dll -Lbase\exchndl\lib  .objs\base\exchndl\exchndl.o   -o devel\exchndl.dll -mthreads  -lwxmsw28u -lbfd -liberty -lintl
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(section.o):section.c:(.text+0x86b): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(bfd.o):bfd.c:(.text+0x75b): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(bfd.o):bfd.c:(.text+0x7ab): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(bfd.o):bfd.c:(.text+0xecd): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(libbfd.o):libbfd.c:(.text+0x6ab): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(binary.o):binary.c:(.text+0x17b): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(coffgen.o):coffgen.c:(.text+0x8db): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(pei-i386.o):pei-i386.c:(.text+0x3bbb): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(srec.o):srec.c:(.text+0x35b): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(srec.o):srec.c:(.text+0x158b): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(tekhex.o):tekhex.c:(.text+0x3bb): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(ihex.o):ihex.c:(.text+0x1bb): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(syms.o):syms.c:(.text+0xeab): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(linker.o):linker.c:(.text+0xc9b): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(dwarf2.o):dwarf2.c:(.text+0xeab): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(peigen.o):peigen.c:(.text+0x94b): undefined reference to `___mingw_vfprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(elflink.o):elflink.c:(.text+0x34bb): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(elf.o):elf.c:(.text+0x19bb): undefined reference to `___mingw_vsprintf'
c:/usr/mingw431/bin/../lib/gcc/mingw32/4.3.1/../../../libbfd.a(elf.o):elf.c:(.text+0x51ab): undefined reference to `___mingw_vfprintf'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
19 errors, 0 warnings

--- End code ---

What else do I have to install to get codeblocks SVN to compile?

thanks

Biplab:
@Pecan,

You can also try linking against the libintl.dll file.


@Morten and other devs,

IMHO, we should remove exchndl target (Patch#2780) from our repo. When everything works fine without building exchndl.dll (by using a pre-built one) then why should we build it? It brings in more problems than it solves. My few cents. :)

MortenMacFly:

--- Quote from: Biplab on September 19, 2010, 06:27:15 pm ---IMHO, we should remove exchndl target (Patch#2780) from our repo.

--- End quote ---
Well it works for me without any issues a very long time with different compilers, really. My intention was not to depend on a nearly unsupported DLL that we cannot compile. In the end this DLL is not provided with any GCC distro to my knowledge anymore. So I'd vote for at least leaving the sources in SVN (as a backup / reference) but probably disable compiling the target by simply removing it from the virtual "All" target. How does that sound?

Loaden:

--- Quote from: MortenMacFly on September 19, 2010, 09:25:08 pm ---
--- Quote from: Biplab on September 19, 2010, 06:27:15 pm ---IMHO, we should remove exchndl target (Patch#2780) from our repo.

--- End quote ---
Well it works for me without any issues a very long time with different compilers, really. My intention was not to depend on a nearly unsupported DLL that we cannot compile. In the end this DLL is not provided with any GCC distro to my knowledge anymore. So I'd vote for at least leaving the sources in SVN (as a backup / reference) but probably disable compiling the target by simply removing it from the virtual "All" target. How does that sound?

--- End quote ---
Hi, All, any comment about this patch?
I can remove the libintl depend.

I am just add a file named "intlimpl.c", here is the content.

--- Code: ---/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 */

const char* libintl_dgettext (const char *__domainname, const char *__msgid)
{
    return __msgid;
}

--- End code ---

MortenMacFly:

--- Quote from: Loaden on September 20, 2010, 02:27:49 am ---Hi, All, any comment about this patch?

--- End quote ---
Nice try, however, the other dependencies remain. So if one is not willing to install dependencies this is not really a solution. I guess we can discuss this again with the next release. If we would have shipped GCC with these dependencies on-board less people would have complained. Until then we should just remove it from the "all" target.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version