On Jul 7, 2005, at 1:04 AM, [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] read_input]# gcc main.m read_input.m -lobjc -lm
/usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object'
are not defined
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xmalloc'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xfree'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xmalloc_atomic'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xcalloc'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libobjc.so: undefined
reference to `xrealloc'
collect2: ld returned 1 exit status

Huh? xmalloc is not in libobjc in any version of GCC I could find.
This looks like a bug in your installation of GCC.

-- Pinski

Reply via email to