HELP: Solaris 10u9 make fails undefined symbol


I got passed the libcharset error by adding /usr/ccs/bin to my path.

now when I make I get a lot further but still errors out. No idea why.


root@nadc-jss-p01 > /usr/local/bin/make

/usr/local/bin/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

/usr/local/bin/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'

  CC     localcharset.lo


make[4]: Leaving directory `/tmp/glib-2.28.7/glib/libcharset'

Making all in pcre

make[4]: Entering directory `/tmp/glib-2.28.7/glib/pcre'

  CC     pcre_compile.lo

  CC     pcre_chartables.lo

  CC     pcre_config.lo

  CC     pcre_dfa_exec.lo

  CC     pcre_exec.lo

  CC     pcre_fullinfo.lo

  CC     pcre_get.lo

  CC     pcre_globals.lo

  CC     pcre_newline.lo

  CC     pcre_ord2utf8.lo

  CC     pcre_study.lo

  CC     pcre_tables.lo

  CC     pcre_try_flipped.lo

  CC     pcre_ucp_searchfuncs.lo

  CC     pcre_xclass.lo


make[4]: Leaving directory `/tmp/glib-2.28.7/glib/pcre'

Making all in update-pcre

make[4]: Entering directory `/tmp/glib-2.28.7/glib/update-pcre'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/tmp/glib-2.28.7/glib/update-pcre'

Making all in .

make[4]: Entering directory `/tmp/glib-2.28.7/glib'

  CC     garray.lo

  CC     gasyncqueue.lo

  CC     gatomic.lo

  CC     gbacktrace.lo

  CC     gbase64.lo

  CC     gbitlock.lo

In file included from gbitlock.c:30:

../config.h:727:1: warning: "_FILE_OFFSET_BITS" redefined

In file included from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/include/syslimits.h:27,

                 from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/include/limits.h:11,

                 from ./glibconfig.h:11,

                 from ../glib/gtypes.h:34,

                 from gbitlock.h:26,

                 from gbitlock.c:23:

/usr/include/sys/feature_tests.h:188:1: warning: this is the location of the previous definition

  CC     gbookmarkfile.lo

  CC     gbuffer.lo

  CC     gcache.lo

  CC     gchecksum.lo

  CC     gcompletion.lo

  CC     gconvert.lo

gconvert.c: In function `g_iconv':

gconvert.c:313: warning: passing arg 2 of `libiconv' from incompatible pointer type

  CC     gdataset.lo

gdataset.c: In function `g_quark_from_string_internal':

gdataset.c:1060: warning: passing arg 1 of `__dtrace_glib___quark__new' discards qualifiers from pointer target type

  CC     gdate.lo

  CC     gdatetime.lo

  CC     gdir.lo

  CC     gerror.lo

  CC     gfileutils.lo

gfileutils.c: In function `write_to_temp_file':

gfileutils.c:1015: warning: label `no_fsync' defined but not used

  CC     ghash.lo

ghash.c: In function `g_hash_table_insert_internal':

ghash.c:379: warning: 'first_tombstone' might be used uninitialized in this function

  CC     ghook.lo

  CC     ghostutils.lo

  CC     giochannel.lo

 CC     gkeyfile.lo

  CC     glist.lo

  CC     gmain.lo

gmain.c: In function `g_get_monotonic_time':

gmain.c:2085: warning: comparison is always true due to limited range of data type

gmain.c:2085: warning: comparison is always true due to limited range of data type

  CC     gmappedfile.lo

  CC     gmarkup.lo

  CC     gmem.lo

  CC     gmessages.lo

  CC     gnode.lo

  CC     goption.lo

  CC     gpattern.lo

  CC     gpoll.lo

  CC     gprimes.lo

  CC     gqsort.lo

  CC     gqueue.lo

  CC     grel.lo

  CC     grand.lo

  CC     gregex.lo

  CC     gscanner.lo

  CC     gsequence.lo

  CC     gshell.lo

  CC     gslice.lo

  CC     gslist.lo

  CC     gstdio.lo

  CC     gstrfuncs.lo

  CC     gstring.lo

  CC     gtestutils.lo

  CC     gthread.lo

  CC     gthreadpool.lo

  CC     gtimer.lo

  CC     gtree.lo

  CC     guniprop.lo

  CC     gutf8.lo

  CC     gunibreak.lo

  CC     gunicollate.lo

  CC     gunidecomp.lo

  CC     gurifuncs.lo

  CC     gutils.lo

  CC     gvariant.lo

  CC     gvariant-parser.lo

  CC     gvariant-serialiser.lo

  CC     gvarianttypeinfo.lo

  CC     gvarianttype.lo

  CC     gprintf.lo

  CC     giounix.lo

  CC     gspawn.lo



*** Warning: Linking the shared library against the non-libtool

*** objects  glib_probes.o is not portable!

  CCLD   gtester

Undefined                       first referenced

symbol                             in file

__dtrace_glib___slice(float, long double,...)(...)./.libs/

__dtrace_glib___mem__alloc          ./.libs/

__dtrace_glib___slice__alloc        ./.libs/

__dtrace_glib___mem(float, long double,...)(...)./.libs/

__dtrace_glib___mem__realloc        ./.libs/

__dtrace_glib___quark__new          ./.libs/

ld: fatal: Symbol referencing errors. No output written to .libs/gtester

collect2: ld returned 1 exit status

make[4]: *** [gtester] Error 1

make[4]: Leaving directory `/tmp/glib-2.28.7/glib'

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'

make: *** [all] Error 2


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.

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