http://www.software.ibm.com/ad/visualage_c++/service/csd.html
Please read the readme file for the fixpack that you wish to download and
install for installation instructions.
Dwayne Moore
VisualAge C++ Service & Support
Dwayne Moore (VisualAge C++ Support) <dwa...@ca.ibm.com> wrote in message
news:7dugtn$st8$1...@news.software.ibm.com...
When I produce code with the DAB it will not compile.
It throws " #error Error: Use of IBM Open Class Library requires the
following options: lang(nokeyword, "bool"), lang(nokeyword, "true"), and
lang(nokeyword, "false")." from ilanglvl.hpp.
If I comment out the line with the *.dax part from the configuration file,
all is fine! But this seems kinda silly.
Chris
The set of options which need to be applied for Win IOC applications
are:
option link(linkwithmultithreadlib), link(linkwithsharedlib),
incl(searchpath, "."), gen(rtti,yes), lang(nokeyword, "bool"),
lang(nokeyword, "true"), lang(nokeyword, "false"),
define("IC_LANG_BOOL",0), define("_X86_"),
define("IVB_IMPORT","_Import"), link(subsystem, "windows", 4,0)
I'm sorry, I should have mentioned in my post, that I have all this in my
configuration file, already.
This would build just fine before the fix pack, but after it was suddenly
complaining about the IOC options - which
I'm very certain, are there.
All other projects compile fine, just DAX projects exhibit the problem. I
even tried making a trivial
DAX project from scratch to isolate it, and there it was - in the fixpak
only.
Chris
Dwayne Moore (VisualAge C++ Support) píąe:
> The first compiler fixpacks are now available for IBM VisualAge C++
> Professional Version 4 and IBM C & C++ Compilers Version 3.6.5 from
>
> http://www.software.ibm.com/ad/visualage_c++/service/csd.html
>
> Please read the readme file for the fixpack that you wish to download and
> install for installation instructions.
>
> Dwayne Moore
> VisualAge C++ Service & Support
Nice fix (100MB over internet), but I have it and installed.
What about my problem with TCP/IP sources without TCP/IP 4.1 installed.
Yes, I can buy SoftwareChoice but every our customers need it too?
Pepa.
Thanks In Advance,
If your application does not require the new features of TCP/IP Version
4.1, such as the 32-bit TCP/IP stack, increased socket limit, etc., and
just want to compile your TCP/IP application, you should define the
macro TCPV40HDRS in your project's configuration file, and remove
tcpip32.dll.
I tried to install the fixpack and I got the the following error
message:
"An error occurred during the move data process - 115" followed by a
dialog box:
"ComponentMoveData ErrorInformation" that contained the text:
"Media Name: data"
"Component: Compiler and runtime"
"File Group: hlp"
"File: c:\IBMCPPW40\BIN\CPPBHG40.DLL"
"Error Number: 115"
I had no VAC projects or windows opened. The fixpacked seemed unzipped
correctly with winzip70.exe.
Now what?
---
Doug Swallow
dswa...@maxflight.com
John Holsbeeks <john.ho...@4st.be> wrote in message
news:370B77DA...@4st.be...
Doug,
Thank you. I managed to install the fixpack correctly.
S) CPPC1006: 1 items are referenced but not defined in target
"D:\tiff\f.exe":
(S) CPPC1007: Not implemented: "sock_init"
(I) CPPC1010: referenced by "f.obj".
The program is:
#define TCPV40HDRS
#include <types.h>
#include <sys\socket.h>
#include <netinet\in.h>
#include <stdio.h>
#include <netdb.h>
int main()
{
sock_init() ;
}
my f.icc file looks like the following. I built the so32dll.lib with
ilib /GENI so32dll.dll and also have use the .lib that comes with the
toolkit. Why am I getting the above error?
f.icc
option ProjectOptions = gen(call, "optlink"), link(debug, "no"),
link(pmtype, "vio")
{
option link(pmtype, vio), link(debug, "no"),
link(linkwithmultithreadlib, "yes")
{
target type("exe") "f.exe"
{
source type("c") "f.c"
source type("lib") "d:\\mptn\\dll\\so32dll.lib"
}
}
}
Also some other questions:
1. What enviroment variables to I need to reference the ibmcpp40\lib
files. I am getting errors when I use vacbld to compile a program
saying that it can't find a .lib.
2. Also, I get a similar error for ilib when trying to run it. It
says that it cannot find .MSG files. What environment variable needs
to be set up for this.
I am copying .dll file and .lib files and .msg files all over my
computer.
This is really driving me nuts. I thought it would be easier..
Thank you,
Richard Schneiderman
The application in your append compiles on my machine (VAC++ V4 + FP1)
cleanly except for an informational message because your main function
does not return a value. I cut and paste your application's source,
including its configuration file, from your append. The version of
so32dll.lib was from the OS/2 ToolKit in the toolkit\lib directory. The
other questions that you ask make me think that you have modified some
of the files or that the install did not complete successfully.
> 1. What enviroment variables to I need to reference the ibmcpp40\lib
> files. I am getting errors when I use vacbld to compile a program
> saying that it can't find a .lib.
The LIB environment variable contains the IBMCPP40\LIB directory, so the
compiler will look there for the import libraries when it needs them.
The LIB environment variable and others required for using the product
are set by the batch file ibmcpp40\bin\setenv.cmd which is run
automatically when one starts the IDE or opens a VisualAge C++
Professional Command Line.
> 2. Also, I get a similar error for ilib when trying to run it. It
> says that it cannot find .MSG files. What environment variable needs
> to be set up for this.
The NLSPATH environment variable determines where MSG files are searched
for. Again, this environment variable is set by the batch file
ibmcpp40\bin\setenv.cmd which is run automatically when one starts the
IDE or opens a VisualAge C++ Professional Command Line.
Are you attempting to run the VAC++ tools in a default line session?
There is an icon in the VisualAge C++ Professional folder for launching
a Command line session which has the environment set up correctly.
Dwayne Moore
VisualAge C++ Service & Support
--------------------------------
Looking for help moving to VisualAge C++ Professional Version 4?
Check out the VisualAge C++ Consulting Services Team at
http://www.software.ibm.com/ad/vaws-services/vacplus.html
Just a thought I have version 3.08, which is giving me problems with som, at
present the syslevel
reports IBMCPP as being at Current CSD level: CT*308 etc... and the latest CDS
for version
3.0 is at CTD308 (which I think I am already at) two questions will the
version mentioned on this
install on 308 that is fix pack 3.6.5, and does it contain later som support
that with 308
Hope some one can help...
I will be going away for a few day... so if you could please email me (and
post)
I would really appreciate it
Regards
Adrian Suri
Josef Chmel wrote:
> Dwayne Moore (VisualAge C++ Support) pí±e:
>
> > The first compiler fixpacks are now available for IBM VisualAge C++
> > Professional Version 4 and IBM C & C++ Compilers Version 3.6.5 from
> >
> > http://www.software.ibm.com/ad/visualage_c++/service/csd.html
> >
> > Please read the readme file for the fixpack that you wish to download and
> > install for installation instructions.
> >
> > Dwayne Moore
> > VisualAge C++ Service & Support
>
Adrian Suri wrote:
> Adrian Suri wrote:
>
> I hate to reply to my self but have not had many responses yet I reinstalled Visual
> Age for Cpp and uninstalled VA OS/2 for Java.... I have enclosed the code plus
> error messages, I also installed
> the euro fix as well, I hope you can help
>
> Regards
>
> Adrian
>
> > HI,
Well thanks for the over-welming response, I solved the problem, I installed the os/2
toolkit off the devcon disk (warp 4) by the way it contains a latter som.dll than
visual age 3.*
Adrian
> ------------------------------------------------------------------------
> Name: ToDoList.zip
> ToDoList.zip Type: Zip Compressed Data (application/x-zip-compressed)
> Encoding: base64