473,568 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem building XMLgawk for Windows

Hi

I'm trying to build XMLgawk (latest version 3.1.5 from sourceforge) and
I'm getting some make errors. I'm using the tool availbale from Cygwin
to do the build (gcc, bash, make).

I was able to run ./configure and I assume it ran without errors (at
least there were no error messages on the console at the end of the
run). But I get errors when I do the make. I have included the actual
make output at the end of this email. From the looks of the error file,
and after doing some exploring on the web, my (possibly naive)
conclusion is that the "Makefile" didn't put in a reference to link in
libtermcap.a from c:\cygwin\lib. Evidently libtermcap.a is needed to
negate the compiler's dislike of varargs.h.

The alternative is for me to manually edit the source for some of the
..h files in awk source to substitute references to stdlib.h for
varargs.h references. (Which I don't like to do, since it is a)
stepping on working code, b) because it would be a kludge, c) could be
opening up a bigger can of worms).

I don't currently have the knowledge to edit the Makefile generated by
../config to add a link to libtermcap.a.

I'm hoping you can give me a little assistance. There is no one here
with that sort of expertise; otherwise I would have asked them already.
Thanks in advance for any assistance.

Here is a quote from a Web reference I found that makes me think that
libtermcap.a would solve this problem:

#error "GCC no longer implements <varargs.h>."
#error "Revise your code to use <stdarg.h>."

Policy currently says:

The include file `<varargs.h>' is provided to suppora)t end-users
compiling very old software; the library `libtermcap' is provided
to
support the execution of software which has been linked against it
(either old programs or those such as Netscape which are only
available in binary form).

And here is the make output:

make 'CFLAGS=-g -O2' 'LDFLAGS=-export-dynamic' all-recursive
make[1]: Entering directory `/cygdrive/c/Program
Files/XMLGawk/xgawk-3.1.5-beta.20060401'
Making all in .
make[2]: Entering directory `/cygdrive/c/Program
Files/XMLGawk/xgawk-3.1.5-beta.20060401'
source='array.c ' object='array.o ' libtool=no \ DEPDIR=.deps
depmode=none /bin/sh ./depcomp \
gcc -DDEFPATH="\".:/usr/local/share/xgawk\""
-DDEFLIBPATH="\"/usr/local/lib/xgawk/3.1.5\"" -DSHLIBEXT="\"dl l"\"
-DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I.
-I. -I. -g -O2 -c array.c
In file included from awk.h:65,
from array.c:43:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/varargs.h:4:2: #error "GCC no
longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/varargs.h:5:2: #error "Revise
your code to use <stdarg.h>."
In file included from awk.h:156,
from array.c:43:
protos.h:125: error: parse error before "sprintf"
protos.h:125: warning: data definition has no type or storage class In
file included from array.c:43:
awk.h:202: error: parse error before "lose"
In file included from awk.h:224,
from array.c:43:
regex.h:47: error: syntax error before "typedef"
In file included from array.c:43:
awk.h:1164: error: parse error before "va_list"
make[2]: *** [array.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Program
Files/XMLGawk/xgawk-3.1.5-beta.20060401'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Program
Files/XMLGawk/xgawk-3.1.5-beta.20060401'
make: *** [all] Error 2
Yours truly,
Lenny Wintfeld

May 26 '06 #1
1 1486
le****@comcast. net wrote:
I'm trying to build XMLgawk (latest version 3.1.5 from sourceforge) and
I'm getting some make errors. I'm using the tool availbale from Cygwin
to do the build (gcc, bash, make).


this problem is specific to the XMLgawk extension.
I would prefer to discuss it in our mailing list.
You received the email address of our mailing list
in a separate email and I am quite confident that
we can solve the problem there.
May 26 '06 #2

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

Similar topics

7
7162
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results. I actually got everything to build and install, but when I try to import M2Crypto-- well, here is a sample session: >>> import M2Crypto...
3
3888
by: Steve Holden | last post by:
If nobody has a quick answer I'll go to the PIL list, but I'm having problems with PIL JPEG support on Windows, and figured someone on c.l.py might have solved this problem. I built the Cygwin PIL from source, and that works a treat. Unfortunately the Windows version (1.1.4 and 1.1.5b1) loaded using binary installers is giving File...
3
3446
by: Programatix | last post by:
Hi, I'm trying to apply Strong Name to my project and I get the following error while building the project, Building satellite assemblies... Satellite build for culture 'ms-MY' failed. Please see the output window for more detailed error information. ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system cannot find the...
7
1850
by: Zachary Hilbun | last post by:
The below is some test code to help me learn how to update a dataset. It is supposed to read the value of UserCounter and write it back. The UserCounter is being read correctly as 0, is 1 when written back, but is not being written back to the database. Although I've used a foreach loop there is actually only 1 record in the dataset. ...
3
4572
by: f1racing24 | last post by:
I am trying to compile this class in the command-line and this error comes up 'Start -> C:\Inetpub\wwwroot\DCReview_Brinkster\code>vbc /t:library /verbose /r:System.dll,System.Data.dll,DBUtilities.dll CountryLib.vb Microsoft (R) Visual Basic .NET Compiler version 7.00.9466 for Microsoft (R) .NET Framework version 1.00.3705 Copyright (C)...
1
2707
by: Jürgen Kahrs | last post by:
Hello, The beta alpha release (xgawk-3.1.5-beta.20060401) of the xmlgawk project is now available at SourceForge. http://sourceforge.net/projects/xmlgawk/ http://sourceforge.net/project/showfiles.php?group_id=133165 This release is based on Arnold Robbins' regular GNU Awk 3.1.5. Problem reports are supposed to go to...
13
3100
by: treble54 | last post by:
I need to build PHP from source with the pdo_ibm extension and I am having an issue with it. Firstly, I am using Visual Studio .NET 2003 and I am building PHP from source through the Visual Studio Command Prompt. When I get to the nmake step, it gets through everything until it hits the zend_language_scanner.l file. Then I get these errors: ...
3
1268
by: kotmfu | last post by:
ok here is my problem. i have a multi class project, there are 6 or so classes that have a 7th class referenced to, but in that 7th class i have it referenced to 1 of the first 6. this is creating problems for me and is quite hurting my brain. here is some code: #pragma once #include "player.h" ref class building : public square {...
5
4094
by: panky.tiwari | last post by:
Hi, I have an XML File while I am parsing through Expat and in Chunks. The code snippet I am using XML_Parser p = XML_ParserCreate(NULL); if(!p) { print_k("Unable to create Parser\n"); break; }
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
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
7962
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
6277
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...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
933
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.