[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Re[4]: [xml] gjobread example
- From: "Robert Collins" <robert collins syncretize net>
- To: "'Vidar'" <vidar xinhuanet com>
- Cc: <xml gnome org>
- Subject: RE: Re[4]: [xml] gjobread example
- Date: Sun, 14 Jul 2002 08:37:48 +1000
I suggest you have a look for a HOWTO on compiling and linking software.
Very briefly, the linker and compiler don't know what libraries are
needed to link with unless you tell them, and the missing symbols error
you reported indicates that a library containing code you need is
missing from the link command line.
Rob
> -----Original Message-----
> From: Vidar [mailto:vidar xinhuanet com]
> Sent: Sunday, 14 July 2002 8:33 AM
> To: Robert Collins
> Subject: Re[4]: [xml] gjobread example
>
>
> Sorry, but could you please explain it a bit more detailedly? I am a
> newbie and not familiar with that.
>
> On Sun, 14 Jul 2002 08:05:20 +1000
> "Robert Collins" <robert collins syncretize net> wrote:กก
>
> > You need to link against libxml2, just like you would on unix.
> >
> > Rob
> >
> > > -----Original Message-----
> > > From: Vidar [mailto:vidar xinhuanet com]
> > > Sent: Sunday, 14 July 2002 7:53 AM
> > > To: Robert Collins
> > > Subject: Re[2]: [xml] gjobread example
> > >
> > >
> > > When I use "gcc -S gjobread.c" which do compile and
> assemble only, it
> > > did work. If I use "gcc -o gjobread gjobread.c", it failed. What
> > > parameter shall I use?
> > >
> > > Thank you for your help.
> > >
> > > On Sun, 14 Jul 2002 07:37:04 +1000
> > > "Robert Collins" <robert collins syncretize net> wrote:@
> > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: xml-admin gnome org [mailto:xml-admin gnome org] On
> > > > > Behalf Of Vidar
> > > > > Sent: Sunday, 14 July 2002 3:25 AM
> > > > > To: xml gnome org
> > > > > Subject: [xml] gjobread example
> > > > >
> > > > >
> > > > > I can compile and assemble gjobread.c, but when I try to
> > > link it, the
> > > > > following message reports. anyone can help me about it?
> > > > >
> > > > > btw: I am using cgywin and its building libxml
> > > > > --------------------------------------------------------------
> > > > > ------------------
> > > > > /cygdrive/d/Temp/cc7kARhf.o(.text+0xe5):gjobread.c: undefined
> > > > > reference to `xmlN
> > > > > odeListGetString'
> > > >
> > > > ...
> > > >
> > > > What is the link command line you are using?
> > > >
> > > > Rob
> > >
> > > --
> > > Vidar <vidar xinhuanet com>
> > >
>
> --
> Vidar <vidar xinhuanet com>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]