Re: [Evolution] Today's CVS -- There are undefined references in libical.so totimezone related functions



On 16 Jun 2001 23:52:21 -0700, Ujwal S. Sathyam wrote:
I was setting up Mandrake 8.0 on my home computer and tried to build
Evolution. I got a compile error saying it could not find ical.h.
However, that file exists both under /usr/include and in the evolution
source tree. I grabbed an older CVS tree off my work laptop (Mandrake
7.2), and that compiles fine.

Hi Ujwal,

Thanks for following up on this!

Here's what nm tells me about the libical.so file:

# nm -u libical/src/libical/.libs/libical.so.0.0.0  
__assert_fail@@GLIBC_2.0
__ctype_b@@GLIBC_2.0
__ctype_tolower@@GLIBC_2.0
__cxa_finalize@@GLIBC_2.1.3
__deregister_frame_info@@GLIBC_2.0
__errno_location@@GLIBC_2.0
__gmon_start__
__register_frame_info@@GLIBC_2.0
__strdup@@GLIBC_2.0
__strtod_internal@@GLIBC_2.0
__strtol_internal@@GLIBC_2.0
abort@@GLIBC_2.0
ctime@@GLIBC_2.0
exit@@GLIBC_2.0
fileno@@GLIBC_2.0
fprintf@@GLIBC_2.0
free@@GLIBC_2.0
fwrite@@GLIBC_2.0
getenv@@GLIBC_2.0
gmtime@@GLIBC_2.0
icalarray_element_at
icalarray_free
icalarray_remove_element_at
icaltimezone_array_append_from_vtimezone
icaltimezone_array_new
icaltimezone_get_component
icaltimezone_get_tzid
isatty@@GLIBC_2.0
localtime@@GLIBC_2.0
malloc@@GLIBC_2.0
memcpy@@GLIBC_2.0
memset@@GLIBC_2.0
mktime@@GLIBC_2.0
printf@@GLIBC_2.0
putenv@@GLIBC_2.0
realloc@@GLIBC_2.0
snprintf@@GLIBC_2.0
sprintf@@GLIBC_2.0
sscanf@@GLIBC_2.0
stderr@@GLIBC_2.0
stdin@@GLIBC_2.0
stdout@@GLIBC_2.0
strcasecmp@@GLIBC_2.0
strcat@@GLIBC_2.0
strchr@@GLIBC_2.0
strcmp@@GLIBC_2.0
strcpy@@GLIBC_2.0
strftime@@GLIBC_2.0
strlen@@GLIBC_2.0
strncmp@@GLIBC_2.0
strncpy@@GLIBC_2.0
strrchr@@GLIBC_2.0
strstr@@GLIBC_2.0

So nm does agree that these symbols are undefined.
Anyone care to give me a lesson on why there are 
all these undefined GLIBC_2.0 and GLIBC_2.1.3 symbols?  
I am guessing that somehow a glibc 2.0 library is 
getting linked?  I have glibc-2.2.2-4mdk installed.

So, getting back to libical, why would these timezone
symbols not be defined?  Are some of the .o files being
built incorrectly?

Sorry, I'm not very knowedgable about compilers, linkers
and whatnot.

        Miles


Ujwal

On 15 Jun 2001 22:22:05 -0700, Miles Lane wrote:
On 14 Jun 2001 21:57:54 -0700, Miles Lane wrote:
Hi,

Thanks to all who replied.  Your instructions worked.  
I'm not sure why the make didn't successfully figure
out what all needed to be remade.  I also *thought*
I did a "make clean" after my last build, but I guess
I didn't.

Thanks again for your help!

  Miles

Whoops.  It turns out I was wrong.  When I sent the note
saying things were working, I actually hadn't gotten to 
building cal-util (I thought I had).  When I tried to build
cal-util, I hit the error again.  I have tried doing 
"make clean all" in ../libical, but it doesn't help.  I have
also tried cvs updating my evolution source tree.  That also
hasn't helped.  Any other ideas?

make[3]: Entering directory
`/usr/src/evolution/evolution/calendar/cal-util'
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wunused   -o
test-recur  test-recur.o libcal-util.la             
../../libversit/libversit.la                         ../../libical/src/libical/libical.la           
-rdynamic -L/usr/lib -L/usr/X11R6/lib -lgal -lgnomeprint -lglade-gnome
-lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lXi
-lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk
-lgmodule -lglib -ldl -lXext -lX11 -lm -lgnomecanvaspixbuf -liconv
-lpthread -L/usr/lib -lgthread -lglib -lpthread 
gcc -g -O2 -Wall -Wunused -o .libs/test-recur test-recur.o -rdynamic
./.libs/libcal-util.so ../../libversit/.libs/libversit.al
../../libical/src/libical/.libs/libical.so -L/usr/lib -L/usr/X11R6/lib
/usr/lib/libgal.so /usr/lib/libgnomeprint.so -ldl -lXext -lX11 -lm -lz
/usr/lib/libglade-gnome.so -lXext -lX11 -lm -ldl -lz
/usr/lib/libglade.so -ldl -lXext -lX11 -lm -lz /usr/lib/libxml.so -lz
-lz -lz -lm -lm -ldl -ldl -lXext -lX11 -lm -ldl -lXext -lX11 -lm -lz -lm
-ldl -lXi -lm -ldl -lz -lm -lz -lm -lm -lm -lm -lm
/usr/lib/libgdk_pixbuf.so -ldl -ldl -lXext -lX11 -lm -ldl -lXext -lX11
-lm -ldl -lXext -lX11 -lm -ldl -ldl -lXext -lX11 -lm
/usr/lib/libgnomecanvaspixbuf.so /usr/lib/libgnomeui.so
/usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE
/usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -lXext
-lX11 /usr/lib/libgnome.so /usr/lib/libgnomesupport.so
/usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -ldb1 -ldl
/usr/lib/libiconv.so -lpthread /usr/lib/libgthread.so -lpthread
/usr/lib/libglib.so -lpthread
../../libical/src/libical/.libs/libical.so: undefined reference to
`icaltimezone_array_append_from_vtimezone'
../../libical/src/libical/.libs/libical.so: undefined reference to
`icalarray_remove_element_at'../../libical/src/libical/.libs/libical.so:
undefined reference to `icaltimezone_get_component'
../../libical/src/libical/.libs/libical.so: undefined reference to
`icaltimezone_array_new'
../../libical/src/libical/.libs/libical.so: undefined reference to
`icalarray_free'
../../libical/src/libical/.libs/libical.so: undefined reference to
`icalarray_element_at'
../../libical/src/libical/.libs/libical.so: undefined reference to
`icaltimezone_get_tzid'
collect2: ld returned 1 exit status
make[3]: *** [test-recur] Error 1

On 14 Jun 2001 20:09:33 -0400, Damon Chaplin wrote:

I don't know why that would happen. It compiles OK for me.
There error messages are a bit odd as those functions are supposed to
be in libical.so.

Maybe you could try a 'make clean' in libical, and rebuilding that
from scratch.

Damon



_______________________________________________
evolution maillist  -  evolution helixcode com
http://lists.helixcode.com/mailman/listinfo/evolution




_______________________________________________
evolution maillist  -  evolution helixcode com
http://lists.helixcode.com/mailman/listinfo/evolution






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