Re.Re: [unixODBC-dev] Query Regaring UNIX_ODBC Install for Montavista Linux

valagesan at valagesan at
Tue Dec 7 13:28:27 GMT 2004

Hi Nick,
Thank you very much for analyzing the problem.
 if we  install unix ODBC in solaris or Red Hat linux,
we don't want to use enable-gui flags of configure file.
Because by default the flag enable-gui=yes,and those OS(RedHat,solaris) 
also support GUI.
so, we didn't face any problem
we simple execute ./configure. Isn't it?
But In Motavista Linux,there is no support for,we have to disable 
by using the option --enable-gui=no.

After doing this, configuration is done successfully.
But while doing make,I am facing the Error.
I had given reply to your question with the tag "vinoth Reply:".
please look below.

Date: Mon, 06 Dec 2004 13:25:59 +0000
From: Nick Gorham <nick at>
Subject: Re: [unixODBC-dev] Query Regaring UNIX_ODBC Install for
                 Montavista              Linux
To: Development issues and topics for unixODBC
                 <unixodbc-dev at>
Message-ID: <41B45DE7.1030003 at>
Content-Type: text/plain; charset=us-ascii; format=flowed

valagesan at wrote:
> Hi folks,
> I am having Montavista Linux 3.0(MVL).
> I have to install Unix-ODBC in MVL.
> so, I downloaded unixODBC-2.2.8.tar.gz  and started to configure  it as 
> follows.
> ./configure --enable-gui=no
> It configured successfully.
> but I had faced compilation problem  as parser error in  SYNCH.cpp file.
> But the same unix-ODBC is installed in Redhat linux and solaris machine 
> also.
> Now,My question is
> ,Is there any  UNIX-ODBC which support Montavista Linux without doing 
> any changes in Makevar,Makefile and configure script.
> I tried to search in the net. It  was no easy to find any UNIX_ODBC link 

> that support  MVL
> eg.
> If i do ./configure, It has to be configure.
> and It should not face any compilation problem.


When you say without doing any changes, do you mean adding the 
--enable-gui=no flag or something different.

vinoth Reply:   if unix odbc is MVL support,then the flag (ie. 
--enable-gui) by default,it would be disabled(no).
                because MVL doesn't support GUI.

Can you give some context to the error, as I don't think SYNCH.cpp is 
part of the unixODBC distribution ?

vinoth Reply:
sorry, It is not in synch.cpp ,error that i am facing in synch.h.
please note that i didn't make any changes in any file.
I configured with --enable-gui=no  flag.  then started to do  make.
This unix ODBC is working fine in both solaris and RedHat linux.

In file included from drivermanager.h:13,
                 from SQLAllocConnect.c:83:
/usr/include/synch.h:178: error: parse error before '*' token
/usr/include/synch.h:179: error: parse error before '*' token
/usr/include/synch.h:180: error: parse error before '*' token
/usr/include/synch.h:181: error: parse error before '*' token
/usr/include/synch.h:182: error: parse error before '*' token
/usr/include/synch.h:183: error: parse error before '*' token
/usr/include/synch.h:184: error: parse error before '*' token
make[1]: *** [SQLAllocConnect.lo] Error 1
make[1]: Leaving directory `/unixODBC-2.2.8/DriverManager'
make: *** [all-recursive] Error 1

Maybe a copy of the output before the error.

vinoth  A

***********************  HSS-Unclassified   ***********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the unixODBC-dev mailing list