Hi Bernhard,

On 22.01.12 00:29, Bernhard Walle wrote:
> This patch is by far the most ugly part of all of the Darwin patches.
> At least the md5sum of a locale-archive when generating a de_DE.UTF-8
> locale is identical...
> 
> A first review, please.

I get some warnings and a linker error:

---8<---
glibc/locale -I./include -I. -I. -include ./include/always.h -Wall
-Wno-format -c -o getopt.o glibc/posix/getopt.c
glibc/posix/getopt.c:74:1: warning: "_" redefined
In file included from ./include/gettext.h:1,
                 from glibc/posix/getopt.c:73:
./include/libintl.h:27:1: warning: this is the location of the previous
definition

...

gcc
-I/Users/andreas/Documents/source/ptxdist-arm-boards/platform-beagle/sysroot-host/include
-g -O2 -fnested-functions -DNO_SYSCONF
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"'
-DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs
-Iglibc/locale -I./include -I. -I. -include ./include/always.h -Wall
-Wno-format -c -o vasprintf.o vasprintf.c
gcc -o localedef charmap.o charmap-dir.o ld-address.o ld-collate.o
ld-ctype.o ld-identification.o ld-measurement.o ld-messages.o
ld-monetary.o ld-name.o ld-numeric.o ld-paper.o ld-telephone.o ld-time.o
linereader.o localedef.o locarchive.o locfile.o repertoire.o
simple-hash.o xmalloc.o xstrdup.o argp-ba.o argp-eexst.o
argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-xinl.o error.o
getopt.o getopt1.o md5.o obstack.o asprintf.o getdelim.o
localedef_extra.o obstack_printf.o vasprintf.o
Undefined symbols for architecture x86_64:
  "_argp_fmtstream_putc", referenced from:
      _usage_argful_short_opt in argp-help.o
      _argp_args_usage in argp-help.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [localedef] Error 1
make: ***
[/Users/andreas/Documents/source/ptxdist-arm-boards/platform-beagle/state/host-localedef.compile]
Error 2
--->8---

regards

Andreas

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to