Hello.

On Fri 2002-12-06 at 09:59:25 -0800, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I just send this email again. Does anyone care about
> HPUX build?

You need to be more specific in the future. That will enhance the
chance for someone seing the problem.

I have never used HP-UX. That said, some comments.

> --- Zengfa Gao <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I tried to compile mysql-3.23.49 on HPUX 11.11
> > system.

Please include complete info from mysqlbug.

> > When I run:
> > 
> > CC=cc CXX=aCC CFLAGS=+DD64 CXXFLAGS=+DD64
> > ./configure
> > 
> > Everything is fine, no errors.
> > 
> > But when I run: make
> > 
> > I got:
> > 
> > cc: "password.c", line 95: error 1000: Unexpected
> > symbol: "char_val".

Which password.c? There are 3 in the source. Please include some of
the make output next time.

[...]
> > Do anyone have some ideas?

Presumed this is about sql/password.c, this seems to be about

  inline uint char_val(char X)

The error you cited is typical, if the compiler does not know "uint"
as type and therefore considered it a label and now bails out because
there is another label following.

That would mean, uint is not defined. include/globals.h defines it if
the system does not provide it:

  #if defined(__EMX__) || !defined(HAVE_UINT)
  typedef unsigned int uint;
  typedef unsigned short ushort;
  #endif

So it seems, configure set HAVE_UINT, but <sys/types.h> either does
not set it or HAVE_SYS_TYPES_H is unset.

No idea, why configure did not the right thing here, but it could be
that it got confused from several runs. Be sure to try with a clean
tarball again.

HTH,

        Benjamin.

-- 
[EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to