473,569 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_n ames
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 '_xmlCheckVersi on' referenced from
C:\PROG\KEN\C\T REE1.OBJ
Error: Unresolved external '_xmlReadFile' referenced from
C:\PROG\KEN\C\T REE1.OBJ
Error: Unresolved external '_xmlDocGetRoot Element' referenced from
C:\PROG\KEN\C\T REE1.OBJ
Error: Unresolved external '_xmlFreeDoc' referenced from
C:\PROG\KEN\C\T REE1.OBJ
Error: Unresolved external '_xmlCleanupPar ser' referenced from
C:\PROG\KEN\C\T REE1.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\Borla nd\Bcc55\includ e"
-L"c:\prog\Borla nd\Bcc55\lib;C: \prog\Borland\B CC55\Include\li bxml"

ilink32.cfg -->
-L"c:\Borland\Bc c55\lib;C:\prog \Borland\BCC55\ Include\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 2338
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.l earn.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************ *************@s bcglobal.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
5325
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++ language. A C++ interface installation IS ABOUT THE C++ LANGUAGE! The language does not possess the ability to handle even simple file directory...
192
8793
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 programmer that you pretend to be, why don't you just write some? (And oh, void main is still not allow by the C++ standard.) Seeming as how you...
0
2955
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 (command line). Read through the installation guides from xmlsoft.org.
1
1363
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 on how to supress the Win32s part, or is it not a problem?
17
4678
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 you yourselves prefer. Thanks in advance. Ziggi
3
3261
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 the Project Options, but how to do it in Borlands C++ Compiler 5.5?
3
2068
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
1722
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... <start quote> Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/home/MYACCOUNT/libxml...
1
4440
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 not found. Please check your libxml2 installation. Here's my configure line: ./configure --with-apxs2=/usr/local/apache2/bin/apxs...
4
3738
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 upgrade/compatible compiler. Do Borland sell a newer version of the 4.52 compiler that will still allow me to compile a DOS executable? Regards,...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.