[Nautilus-list] Compile failure Nautilus 1.0.5



Hi there,

When I try to configure and compile Nautilus on my
system I get the following error:
======
nautilus-desktop-file-loader.c: In function `validated_strdup':
nautilus-desktop-file-loader.c:1043: `CODESET' undeclared (first use in
this function)
nautilus-desktop-file-loader.c:1043: (Each undeclared identifier is
reported only once
nautilus-desktop-file-loader.c:1043: for each function it appears in.)
nautilus-desktop-file-loader.c:1060: warning: passing arg 2 of
`libiconv' from incompatible pointer type
make[2]: *** [nautilus-desktop-file-loader.lo] Error 1
======

CODESET seems to be defined in my /usr/include/langinfo.h,
but only in the case:
======
#ifdef __USE_XOPEN 
  CODESET = _NL_CTYPE_CODESET_NAME,
#endif 
======

Whacking a "#define __USE_XOPEN"
before the "#include <langinfo>"
in nautilus-desktop-file-loader.c
gets me past that but ultimatly I die 
later on with:
======
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv_open'
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv_close'
../libnautilus-private/.libs/libnautilus-private.so: undefined reference
to `libiconv
======

Any ideas?

-- 
Paul McGarry





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]