i383-elf-gdb build help

Dongsheng Wang dongsheng at gmail.com
Wed Sep 28 12:09:25 PDT 2011


It seems i386-elf-gdb port is not available, so I am trying to build it
manually, and I got a error for make command.

====

In file included from ../../gdb-7.3.1/bfd/archive.c:130:
../../gdb-7.3.1/bfd/sysdep.h:173:21: error: libintl.h: No such file or
directory
cc1: warnings being treated as errors
../../gdb-7.3.1/bfd/archive.c: In function ‘_bfd_write_archive_contents’:
../../gdb-7.3.1/bfd/archive.c:2126: warning: implicit declaration of
function ‘dgettext’
../../gdb-7.3.1/bfd/archive.c:2126: warning: incompatible implicit
declaration of built-in function ‘dgettext’
../../gdb-7.3.1/bfd/archive.c: In function
‘_bfd_archive_bsd_update_armap_timestamp’:
../../gdb-7.3.1/bfd/archive.c:2414: warning: incompatible implicit
declaration of built-in function ‘dgettext’
../../gdb-7.3.1/bfd/archive.c:2438: warning: incompatible implicit
declaration of built-in function ‘dgettext’
make[4]: *** [archive.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

====

These are the command I used.

    ../gdb-7.3.1/configure --target=i386-elf --program-prefix=i386-elf-
--prefix=/opt/local --with-build-libsubdir=/opt/local 2>&1 | tee
configure.log
    make 2>&1 | tee make.log

I am pretty sure libintl.h is available under /opt/local/include.

Can someone give me some hints what is wrong?

ds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110928/83f4f69e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 24816 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110928/83f4f69e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 53916 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110928/83f4f69e/attachment-0001.obj>


More information about the macports-users mailing list