RE: gnome-core compiliation error: _localtime_r undefined



OK, after some digging around I was able to work around this error.  I found
that the library /usr/lib/libc_r.so.3.0 contained the symbol _localtime_r.  

I edited the Makefile in gnome-core/applets/jbc and changed the line

LIBS=

to

LIBS= -L/usr/lib -lc_r

After that the applet compiled successfully.  Can anyone tell me the _right_
way to fix this?

Ned
 
> -----Original Message-----
> From: BASS, Ned* [mailto:nbass@shl.com]
> Sent: Tuesday, March 30, 1999 12:38 PM
> To: gnome-list@gnome.org
> Subject: gnome-core compiliation error: _localtime_r undefined
> 
> 
> I am getting the following error compiling gnome-core checked 
> out from CVS
> today.  
> 
> The system is FreeBSD 2.2.8, gtk & glib 1.2.0, imlib 1.9.4, 
> everything else
> compiled from CVS within the last 3 days.
> 
> Any suggestions will be appreciated.
> 
> Ned
> 
> gcc -g -O2 -Wall -Wno-unused -Wmissing-prototypes 
> -Wmissing-declarations
> -Wpointer-arith -o .libs/jbc_applet jbc-applet.o -L../../panel/.libs
> -lpanel_applet -L/usr/local/lib -lORBitCosNaming -lORBit 
> -lIIOP -lORBitutil
> -lglib -lm -lm -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib
> -L/usr/X11R6/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil
> -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk 
> -lgmodule -lXext
> -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -lglib -lgnomeui
> -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule 
> -lXext -lX11 -lgnome
> -lgnomesupport -lesd -laudiofile -lm -lglib -R/usr/local/lib
> jbc-applet.c:70: Undefined symbol `_localtime_r' referenced from text
> segment
> gmake[3]: *** [jbc_applet] Error 1
> gmake[3]: Leaving directory 
> `/home/ned/filez/src/gnome-core/applets/jbc'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/ned/filez/src/gnome-core/applets'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/ned/filez/src/gnome-core'
> gmake: *** [all-recursive-am] Error 2
> 
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at 
http://www.gnome.org/gnomefaq
         To unsubscribe: mail gnome-list-request@gnome.org with 
                       "unsubscribe" as the Subject.



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