473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Installation Question for libxml & Borland C++ 5 Compiler

Hello,

I have tried many avenues (web search, borland website, libxml
website) before deciding to post here.

I'm trying to install libxml2 on windows ME to work with my Borland
C++ 5 Compiler (command line).

Read through the installation guides from xmlsoft.org.

Downloaded libxml2, libinconv-1.9.1 and zlib.

Followed the instructions for the zlib installation. However, it seems
that libinconv can only be compiled using Microsoft Visual C++. Is
there an alternative method for a Borland C++ 5 (command line) user
like me?

Using the example, tree1.c from xmlsoft and compiling like this, I get
the following errors :
bcc32 -a -c tree1.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
tree1.c:
Warning W8004 tree1.c 33: 'cur_node' is assigned a value that is never
used in function print_element_names
Warning W8004 tree1.c 54: 'root_element' is assigned a value that is
never used in function main
Warning W8004 tree1.c 53: 'doc' is assigned a value that is never used
in function main
bcc32 tree1.obj zdllbor.lib

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_xmlCheckVersion' referenced from
C:\PROG\KEN\C\TREE1.OBJ
Error: Unresolved external '_xmlReadFile' referenced from
C:\PROG\KEN\C\TREE1.OBJ
Error: Unresolved external '_xmlDocGetRootElement' referenced from
C:\PROG\KEN\C\TREE1.OBJ
Error: Unresolved external '_xmlFreeDoc' referenced from
C:\PROG\KEN\C\TREE1.OBJ
Error: Unresolved external '_xmlCleanupParser' referenced from
C:\PROG\KEN\C\TREE1.OBJ

In my Borland's bin directory, I have 2 comfiguration files, bcc32.cfg
and ilink32.cfg which have the following lines :

bcc32.cfg -->
-I"c:\prog\Borland\Bcc55\include"
-L"c:\prog\Borland\Bcc55\lib;C:\prog\Borland\BCC55\ Include\libxml"

ilink32.cfg -->
-L"c:\Borland\Bcc55\lib;C:\prog\Borland\BCC55\Inclu de\libxml"

What else must I do in order to get tree1.c to compile cleanly?

Your advise is very much appreciated.

Thank you.
Cheers,
Kenneth Gomez.
Jul 22 '05 #1
2 2324
Kenneth Gomez wrote:
Hello,

I have tried many avenues (web search, borland website, libxml
website) before deciding to post here.

I'm trying to install libxml2 on windows ME to work with my Borland
C++ 5 Compiler (command line).
This newsgroup does not discuss the implementations of various
compilers and libraries. My suggestion is to ask in a Borland
newsgroup and CC to a Windows ME newsgroup. See the FAQs in my
signature for proper newsgroups.

[snip]
What else must I do in order to get tree1.c to compile cleanly? Be aware that there is no standard for library formats. There
is no requirement that one library format work with any compiler.
Also search the newsgroups and the web for "name mangling". There
is no requirement that a library of one platform work with a
compiler on another one.

Your advise is very much appreciated. Compilers are allowed to mangle identifier names so that each
overloaded function has a unique symbol. This allows C++ compilers
to use the library machinery of a C compiler. There is no
standard or requirement for name mangling. For example, Borland
may have one method for mangling that is incompatible with Microsoft,
Metaware or Comeau. A library compiled with the Metaware compiler
may have name mangling that is incompatible with Borland's compiler.

Most library vendors will deliver a binary library for use with
a specific compiler or deliver the source code. My advice is
to talk to the library vendor.

Thank you.
Cheers,
Kenneth Gomez.


--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 22 '05 #2
Hello Thomas,

Thank you very much for replying. I will try the appropriate group. I
did send to the xml group but there was no reply. I am at a loss here.
Since I am doing this alone, I dont have any other place to refer to.

I do not know if it is the way I link the include and lib files or
whether it is a problem with the libxml library.

I will try as you have mentioned.
Thank you.
Regards,
Kenneth.

On Sat, 04 Dec 2004 02:51:50 GMT, Thomas Matthews
<Th*************************@sbcglobal.net> wrote:
Kenneth Gomez wrote:
Hello,

I have tried many avenues (web search, borland website, libxml
website) before deciding to post here.

I'm trying to install libxml2 on windows ME to work with my Borland
C++ 5 Compiler (command line).
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library


Cheers,
Kenneth Gomez.
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
192
by: Kwan Ting | last post by:
The_Sage, I see you've gotten yourself a twin asking for program in comp.lang.c++ . http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=45cd1b289c71c33c&rnum=1 If you the oh so mighty...
0
by: Kenneth Gomez | last post by:
Hello, I have tried many avenues (web search, borland website, libxml website) before deciding to post here. I'm trying to install libxml2 on windows ME to work with my Borland C++ 5 Compiler...
1
by: Lyle Stephens | last post by:
I have a copy of Borland C++ 4.0 I would like to install under Win98. It was writen for Win3.1 and offers to install Win32s components. I don't need a conflict between operating systems. Any ideas...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
3
by: IM | last post by:
I have downloaded all the files for WIN - SQLite.org, but I don't get it how to link the libary with Borland C++ Compiler 5.5. It works fine in DevC++ because I can link it into the project trough...
3
by: Siemel Naran | last post by:
Here is a question about implicit conversion from T (&) to ptrcarray<T>. I wrote a class template <class T> struct ptrcarray { T * array; size_t size;
2
by: John MacLeod | last post by:
I'm trying to install a local copy of php5 and not having much luck. I want LIBXML and IMAP support. When I go to configure php (no matter what options I use) I end up with the error message... ...
1
by: Scott | last post by:
I'm trying to install PHP 5.1.2 on Fedora 4. Everything on configure goes ok until this: checking libxml2 install dir... /usr/lib checking for xml2-config path... configure: error: xml2-config...
4
by: darrensjunkaccount | last post by:
Hi, I have just inherited some embedded software that was compiled with Borland 4.52. I need to either purchase that compiler, which Borland no longer appear to sell or alternatively source an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.