Re: Building from CVS



On 17 Jan 2001 18:27:10 -0600, Bob Robison wrote:
> On 17 Jan 2001 19:03:56 -0500
> JP Rosevear <jpr ximian com> wrote:
> 
> > On 17 Jan 2001 13:30:51 -0600, Bob Robison wrote:
> [...]
> > > I got the latest pilot-link from CVS and compiled it without problems.  Then I got gnome-pilot, but I'm having the following problem during linking:  Several unresolved symbols like: sync_xxxToPilot.  I expect there is some other package I also need to get, but haven't found it yet.  This problem is in the gnome-pilot-conduit stuff, but I don't think that is a separate CVS tree is it?
> [...]
> > Well my first question would be, is this really the latest pilot link?
> > From cvs at gnu-designs.com?  Those symbols are from the re-architected
> > sync code in pilot-link.
> > 
> > -JP
> > =======================================================================
> > JP Rosevear                             jpr ximian com
> > Ximian Inc.                             http://www.ximian.com
> 
> 
> Yes, it is from gnu-designs.  Now that I know better where to look I will dig further, but I see the (e.g) sync_MergeToPilot symbol existing in the /usr/local/lib/libpisock.so file, but it is unresolved in the gpilotd/.libs/ibgpilotdconduit.so and when gcc tries to link everything to -o .libs/gpilotd it is getting these unresolved.  It sounds like I have some kind of configure problem. -- but I started from 0 and did a clean ./autogen.sh, configure,make, etc on both pilot-link and gnome-pilot.  I include the nasty long link line again here -- just for further pondering....
> 
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -g -DGNOME
> LOCALEDIR=\"/usr/local/share/locale\" -o .libs/gpilotd gnome-pilot-common.o gnom
> e-pilot-skels.o gnome-pilot-stubs.o gpilotd.o manager.o queue_io.o orbit_daemon_
> glue.o gpilot-structures.o gpilot-userinfo.o gpilot-gui.o -L/usr/lib -lORBitCosN
> aming -lORBit -lIIOP -lORBitutil -lglib -lnsl -lm -rdynamic -L/usr/lib -L/usr/X1
> 1R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -rdynamic
>  -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -
> lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -L/usr/lib -
> lxml -lz -L/usr/lib -rdynamic -lgmodule -lglib -ldl -rdynamic -L/usr/lib -L/usr/
> X11R6/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -
> lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome
>  -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl .libs/libgpilotdconduit.
> so -lcrypt ../libgpilotdCM/.libs/libgpilotdcm.so -lcrypt -lpisock -lcrypt -Wl,--
> export-dynamic -Wl,--rpath -Wl,/usr/local/lib/
> .libs/libgpilotdconduit.so: undefined reference to `sync_CopyToPilot'
> .libs/libgpilotdconduit.so: undefined reference to `sync_Synchronize'
> .libs/libgpilotdconduit.so: undefined reference to `sync_CopyFromPilot'
> .libs/libgpilotdconduit.so: undefined reference to `sync_MergeToPilot'
> .libs/libgpilotdconduit.so: undefined reference to `sync_MergeFromPilot'
> collect2: ld returned 1 exit status
> make[2]: *** [gpilotd] Error 1
> make[2]: Leaving directory `/home/cvs/gnome-pilot/gpilotd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/cvs/gnome-pilot'
> m

Are you sure that you don't have pilot-link installed as a package
somewhere?  Have you run ldconfig?
are the pilot link libs in your linker path?

-JP

-- 
--
=======================================================================
JP Rosevear                             jpr ximian com
Ximian Inc.                             http://www.ximian.com





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