Benjamin,
Thanks for you information, now I tried to use "gcc"
compile:
CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure
Configure has no problem. But When I run "make", I
got:
....
gcc -O3 -DDBUG_OFF -DHAVE_BROKEN_PREAD
-DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS
-DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS
-DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -o hp_test2
hp_test2.o libheap.a ../mysys/libmysys.a
../dbug/libdbug.a ../strings/libmystrings.a -lpthread
-lcrypt -lnsl -lm -lpthread
Making all in sql
Making all in share
No suffix list.
../../extra/comp_err czech/errmsg.sys
Usage: ../../extra/comp_err [-?] [-I] [-V] fromfile[s]
tofile
*** Error exit code 255
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
--- Benjamin Pflugmann <[EMAIL PROTECTED]>
wrote:
> 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
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
---------------------------------------------------------------------
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