From: Fabio Somenzi (Fabio_at_colorado.edu)
Date: Mon May 17 2004 - 21:33:12 MDT
Alberto,
_edata, _end, and _etext are used in glu. Specifically, in
util/cpu_stats.c
qsort is also in the util library of glu.
Fabio
>>>>> "APP" == Alberto Palacios Pawlovsky <palacios_at_cc.toin.ac.jp> writes:
APP> Hi;
APP> I am trying to build vis2.0 in os x, yet without luck.
APP> glu compiled with some tweaks but I can not make vis build.
APP> The errors seem to be in undefined symbols
APP> [Einstein:local/vis/vis-2.0] root# make allprods
APP> Creating vis-cmu
APP> ld: warning multiple definitions of symbol _qsort
APP> /usr/local/vis/glu-2.0/libglu.a(qsort.o) definition of _qsort in
APP> section (__TEXT,__text)
APP> /usr/lib/libm.dylib(qsort.So) definition of _qsort
APP> ld: warning prebinding disabled because of undefined symbols
APP> ld: Undefined symbols:
APP> _edata
APP> _end
APP> _etext
APP> Creating vis-cu
APP> ld: warning multiple definitions of symbol _qsort
APP> /usr/local/vis/glu-2.0/libglu.a(qsort.o) definition of _qsort in
APP> section (__TEXT,__text)
APP> /usr/lib/libm.dylib(qsort.So) definition of _qsort
APP> ld: warning prebinding disabled because of undefined symbols
APP> ld: Undefined symbols:
APP> _edata
APP> _end
APP> _etext
APP> Creating vis-cal
APP> ld: warning multiple definitions of symbol _qsort
APP> /usr/local/vis/glu-2.0/libglu.a(qsort.o) definition of _qsort in
APP> section (__TEXT,__text)
APP> /usr/lib/libm.dylib(qsort.So) definition of _qsort
APP> ld: warning prebinding disabled because of undefined symbols
APP> ld: Undefined symbols:
APP> _edata
APP> _end
APP> _etext
APP> make: *** [allprods] Error 1
APP> I tried to find these words in the source files using something as
APP> find . -type f -exec grep "_edata" {} \; -print
APP> but I could not find anything in the directories under vis2.0
APP> Any hint or help wil be appreciated.
APP> Regards,
APP> Alberto Palacios Pawlovsky (Associate Professor)
APP> Toin University of Yokohama, Faculty of Engineering.
APP> Department of Electronics and Information Engineering.
APP> 225-8502 Kanagawa-ken, Yokohama-shi,
APP> Aoba-ku, Kurogane-cho 1614. Japan.
APP> TEL: +81-45-974-5229
APP> FAX: +81-45-972-5972
APP> E-mail: palacios_at_cc.toin.ac.jp
APP> http://www.cc.toin.ac.jp/sc/palacios/
This archive was generated by hypermail 2.1.7 : Mon May 17 2004 - 21:33:52 MDT