I am trying to make glib but get an error on the make: root@nadc-jss-p01 > make make all-recursive make[1]: Entering directory `/tmp/glib-2.28.7' Making all in . make[2]: Entering directory `/tmp/glib-2.28.7' make[2]: Leaving directory `/tmp/glib-2.28.7' Making all in m4macros make[2]: Entering directory `/tmp/glib-2.28.7/m4macros' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/glib-2.28.7/m4macros' Making all in glib make[2]: Entering directory `/tmp/glib-2.28.7/glib' GEN glibconfig-stamp config.status: executing glib/glibconfig.h commands config.status: glib/glibconfig.h is unchanged dtrace -C -h -s glib_probes.d -o glib_probes.h.tmp sed -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," < glib_probes.h.tmp > glib_probes.h && rm -f glib_probes.h.tmp dtrace -G -s glib_probes.d -o glib_probes.o make all-recursive make[3]: Entering directory `/tmp/glib-2.28.7/glib' Making all in libcharset make[4]: Entering directory `/tmp/glib-2.28.7/glib/libcharset' CCLD libcharset.la make[4]: *** [libcharset.la] Error 1 make[4]: Leaving directory `/tmp/glib-2.28.7/glib/libcharset' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/glib-2.28.7/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/glib-2.28.7/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/glib-2.28.7' the configure seems okay: root@nadc-jss-p01 > ./configure --with-libiconv=gnu checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for the BeOS... no checking for Win32... no checking for Mac OS X Carbon support... no checking whether to enable garbage collector friendliness... no checking whether to disable memory pools... no ./configure: line 5197: readlink: command not found checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for gawk... (cached) nawk checking for perl5... no checking for perl... perl checking for indent... no checking for perl... /usr/bin/perl checking for a Python interpreter with version >= 2.4... python checking for python... /usr/local/bin/python checking for python version... 2.6 checking for python platform... sunos5 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for libiconv_open in -liconv... yes checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E checking whether we are using the GNU C Library 2.1 or newer... no checking Whether to cache iconv descriptors... yes checking for ZLIB... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/local/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for catalogs to be installed... af am ar as ast az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kk kn ko ku lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tl tr ug tt uk vi wa xh yi zh_CN zh_HK zh_TW checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop checking for /usr/ccs/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... no checking for archiver @FILE support... no checking for strip... no checking for ranlib... no checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... no checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate configure: creating ./config.lt config.lt: creating libtool checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking for ANSI C header files... yes checking for vprintf... yes checking for _doprnt... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for mmap... yes checking for posix_memalign... no checking for memalign... yes checking for valloc... yes checking for fsync... yes checking for pipe2... no checking for atexit... yes checking for on_exit... no checking for timegm... no checking for gmtime_r... yes checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of int... 4 checking size of void *... 4 checking size of long long... 8 checking size of __int64... 0 checking for format to printf and scanf a guint64... %llu checking for an ANSI C-conforming const... yes checking if malloc() and friends prototypes are gmem.h compatible... yes checking for growing stack pointer... no checking for __inline... yes checking for __inline__... yes checking for inline... yes checking if inline functions in headers work... yes checking for working do while(0) macros... yes checking for ISO C99 varargs macros in C... yes checking for ISO C99 varargs macros in C++... yes checking for GNUC varargs macros... yes checking for GNUC visibility attribute... no checking whether using Sun Studio C compiler... no checking whether byte ordering is bigendian... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking stdint.h usability... yes checking stdint.h presence... yes checking for stdint.h... yes checking inttypes.h usability... yes checking inttypes.h presence... yes checking for inttypes.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/vmount.h usability... no checking sys/vmount.h presence... no checking for sys/vmount.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/mnttab.h usability... yes checking sys/mnttab.h presence... yes checking for sys/mnttab.h... yes checking sys/vfstab.h usability... yes checking sys/vfstab.h presence... yes checking for sys/vfstab.h... yes checking sys/mntctl.h usability... no checking sys/mntctl.h presence... no checking for sys/mntctl.h... no checking sys/sysctl.h usability... no checking sys/sysctl.h presence... no checking for sys/sysctl.h... no checking fstab.h usability... no checking fstab.h presence... no checking for fstab.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/mkdev.h usability... yes checking sys/mkdev.h presence... yes checking for sys/mkdev.h... yes checking linux/magic.h usability... no checking linux/magic.h presence... no checking for linux/magic.h... no checking for struct stat.st_mtimensec... no checking for struct stat.st_mtim.tv_nsec... no checking for struct stat.st_atimensec... no checking for struct stat.st_atim.tv_nsec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_ctim.tv_nsec... no checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct statfs.f_fstypename... no checking for struct statfs.f_bavail... no checking for struct statvfs.f_basetype... yes checking for struct tm.tm_gmtoff... no checking for struct tm.__tm_gmtoff... no checking for nl_langinfo and CODESET... yes checking whether we are using the GNU C Library 2.1 or newer... (cached) no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking for setlocale... yes checking size of size_t... 4 checking for the appropriate definition for size_t... unsigned int checking for lstat... yes checking for strerror... yes checking for strsignal... yes checking for memmove... yes checking for vsnprintf... yes checking for stpcpy... no checking for strcasecmp... yes checking for strncasecmp... yes checking for poll... yes checking for getcwd... yes checking for vasprintf... no checking for setenv... yes checking for unsetenv... yes checking for getc_unlocked... yes checking for readlink... yes checking for symlink... yes checking for fdwalk... yes checking for memmem... no checking for chown... yes checking for lchmod... no checking for lchown... yes checking for fchmod... yes checking for fchown... yes checking for link... yes checking for statvfs... yes checking for statfs... yes checking for utimes... yes checking for getgrgid... yes checking for getpwuid... yes checking for getmntent_r... no checking for setmntent... no checking for endmntent... no checking for hasmntopt... yes checking for getmntinfo... no checking for splice... no checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for C99 vsnprintf... yes checking whether printf supports positional parameters... yes checking value of AF_INET... 2 checking value of AF_INET6... 26 checking value of AF_UNIX... 1 checking value of MSG_PEEK... 2 checking value of MSG_OOB... 1 checking value of MSG_DONTROUTE... 4 checking for getprotobyname_r... no checking for endservent... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking wspiapi.h usability... no checking wspiapi.h presence... no checking for wspiapi.h... no checking for strndup... no checking for setresuid... no checking for setreuid... yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking for res_query... in -lresolv checking number of arguments to statfs()... 4 checking for signed... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for size_t... (cached) yes checking for ptrdiff_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for snprintf... yes checking for wcslen... yes checking for C99 snprintf... yes checking for sys_errlist... yes checking for sys_siglist... no checking for sys_siglist declaration... no checking for fd_set... yes, found in sys/types.h checking whether realloc (NULL,) will work... yes checking for nl_langinfo (CODESET)... yes checking for a compliant posix_memalign() implementation... no checking for OpenBSD strlcpy/strlcat... yes checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... yes checking for dlopen... yes checking for dlsym... yes Undefined first referenced symbol in file main /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/crt1.o ld: fatal: Symbol referencing errors. No output written to .libs/plugin.o collect2: ld returned 1 exit status checking for RTLD_GLOBAL brokenness... no checking for preceeding underscore in symbols... no checking for dlerror... yes checking for the suffix of module shared libraries... .so checking for gspawn implementation... gspawn.lo checking for GIOChannel implementation... giounix.lo checking for is_selinux_enabled in -lselinux... no checking sys/inotify.h usability... no checking sys/inotify.h presence... no checking for sys/inotify.h... no checking for FAMOpen in -lfam... no configure: WARNING: *** FAM support will not be built (FAM library not found) *** checking for getxattr in -lc... no checking for getxattr in -lattr... no checking for platform-dependent source... checking whether to compile timeloop... yes checking if building for some Win32 platform... no checking for thread implementation... posix checking thread related cflags... -D_REENTRANT -D_PTHREADS checking for sched_get_priority_min... no checking for sched_get_priority_min in -lrt... yes checking thread related libraries... -lpthread -lthread -lrt checking for localtime_r... yes checking for gmtime_r... (cached) yes checking for posix getpwuid_r... no checking for nonposix getpwuid_r... yes checking for posix getgrgid_r... no checking for nonposix getgrgid_r... yes checking size of pthread_t... 4 checking for pthread_attr_setstacksize... yes checking for minimal/maximal thread priority... sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER) checking for pthread_setschedparam... yes checking for posix yield function... sched_yield checking size of pthread_mutex_t... 24 checking byte contents of PTHREAD_MUTEX_INITIALIZER... 0,0,0,0,0,0,77,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 checking for clock_gettime... no checking for clock_gettime in -lrt... yes checking for monotonic clocks... yes checking whether to use assembler code for atomic operations... checking whether GCC supports build-in atomic intrinsics... no no configure: WARNING: Try to rerun configure with CFLAGS='-mcpu=v9', when you are using a sparc with v9 instruction set (most sparcs nowadays). This will make the code for atomic operations much faster. The resulting code will not run on very old sparcs though. checking for futex(2) system call... no checking value of POLLIN... 1 checking value of POLLOUT... 4 checking value of POLLPRI... 2 checking value of POLLERR... 8 checking value of POLLHUP... 16 checking value of POLLNVAL... 32 checking for broken poll... no checking whether compiler understands -Wno-pointer-sign... no checking for EILSEQ... yes checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking whether to include dtrace tracing support... yes checking for dtrace... dtrace checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking whether to include systemtap tracing support... yes checking for DBUS1... no checking for -Bsymbolic-functions linker flag... no configure: creating ./config.status config.status: creating glib-2.0.pc config.status: creating glib-2.0-uninstalled.pc config.status: creating gmodule-2.0.pc config.status: creating gmodule-export-2.0.pc config.status: creating gmodule-no-export-2.0.pc config.status: creating gmodule-2.0-uninstalled.pc config.status: creating gmodule-no-export-2.0-uninstalled.pc config.status: creating gthread-2.0.pc config.status: creating gthread-2.0-uninstalled.pc config.status: creating gobject-2.0.pc config.status: creating gobject-2.0-uninstalled.pc config.status: creating gio-2.0.pc config.status: creating gio-unix-2.0.pc config.status: creating gio-windows-2.0.pc config.status: creating gio-2.0-uninstalled.pc config.status: creating gio-unix-2.0-uninstalled.pc config.status: creating glib-zip config.status: creating glib-gettextize config.status: creating Makefile config.status: creating build/Makefile config.status: creating build/win32/Makefile config.status: creating build/win32/dirent/Makefile config.status: creating build/win32/vs9/Makefile config.status: creating build/win32/vs10/Makefile config.status: creating glib/Makefile config.status: creating glib/glib.stp config.status: creating glib/libcharset/Makefile config.status: creating glib/gnulib/Makefile config.status: creating glib/pcre/Makefile config.status: creating glib/update-pcre/Makefile config.status: creating glib/tests/Makefile config.status: creating gmodule/Makefile config.status: creating gmodule/gmoduleconf.h config.status: creating gobject/Makefile config.status: creating gobject/gobject.stp config.status: creating gobject/glib-mkenums config.status: creating gobject/tests/Makefile config.status: creating gthread/Makefile config.status: creating gthread/tests/Makefile config.status: creating gio/Makefile config.status: creating gio/xdgmime/Makefile config.status: creating gio/inotify/Makefile config.status: creating gio/libasyncns/Makefile config.status: creating gio/fen/Makefile config.status: creating gio/fam/Makefile config.status: creating gio/win32/Makefile config.status: creating gio/tests/Makefile config.status: creating po/Makefile.in config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/glib/Makefile config.status: creating docs/reference/glib/version.xml config.status: creating docs/reference/gobject/Makefile config.status: creating docs/reference/gobject/version.xml config.status: creating docs/reference/gio/Makefile config.status: creating docs/reference/gio/version.xml config.status: creating tests/Makefile config.status: creating tests/gobject/Makefile config.status: creating tests/refcount/Makefile config.status: creating m4macros/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands config.status: executing glib/glibconfig.h commands config.status: glib/glibconfig.h is unchanged config.status: executing chmod-scripts commands ________________________________ This message may contain confidential information. If you are not the intended recipient of this e-mail, do not disseminate, distribute or copy this e-mail and delete this e-mail from your system. |