Question on including libxml2 into gnu compiler

View: New views
3 Messages — Rating Filter:   Alert me  

Question on including libxml2 into gnu compiler

by Ramakrishna-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I'm having difficulty including libxml2 (library) components into my gnu
programs  in Windows.

I tried setting the appropraite environment variable paths but it still
comes with an error message

"Undefined reference"

Can somebody let me know what maybe the problem.

--
Ramakrishna (Rama) Gokaraju, Ph.D., P.Eng.
Associate Professor
Dept. of Electrical & Computer Engineering
University of Saskatchewan
Office: 3B33
Tel: (306) 966-5385, Fax: (306) 966-5407

---------
Currently Visiting Professor
Department of Electrical & Computer Engineering
University of Manitoba
Canada.

Tel:  (204) 474-9254 (Office)
         (204) 474-7199  (Lab)


Re: Question on including libxml2 into gnu compiler

by Ian Lance Taylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ramakrishna <rama.krishna@...> writes:

> I'm having difficulty including libxml2 (library) components into my
> gnu programs  in Windows.
>
> I tried setting the appropraite environment variable paths but it
> still comes with an error message
>
> "Undefined reference"
>
> Can somebody let me know what maybe the problem.

If programs which do not libxml2 work, then this is very unlikely to
be a gcc issue.  This mailing list is for gcc.  You would do better to
ask on a forum where people know something about libxml2.

Either way, you need to provide much more information, like exactly
what you did and exactly what error message you got.

Ian

Re: Question on including libxml2 into gnu compiler

by Philip Herron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Lance Taylor wrote:

> Ramakrishna <rama.krishna@...> writes:
>
>> I'm having difficulty including libxml2 (library) components into my
>> gnu programs  in Windows.
>>
>> I tried setting the appropraite environment variable paths but it
>> still comes with an error message
>>
>> "Undefined reference"
>>
>> Can somebody let me know what maybe the problem.
>
> If programs which do not libxml2 work, then this is very unlikely to
> be a gcc issue.  This mailing list is for gcc.  You would do better to
> ask on a forum where people know something about libxml2.
>
> Either way, you need to provide much more information, like exactly
> what you did and exactly what error message you got.
>
> Ian
Although its not the correct place to answer this you might want to
make sure you have:

xml2-config --cflags --libs

And make sure that looks right :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr5kPUACgkQAhcOgIaQQ2EzLgCgh45ikYYvDKqvPAwBwhaHUcP0
8LwAn0vPbgfUX3dFczy8BgvcOK120oTC
=kwmy
-----END PGP SIGNATURE-----