>Description:
I am having trouble compiling the MIT-pthreads in version
3.22.14.b-gamma on an HP 755 machine running HPUX 10.20.
>How-To-Repeat:
I followed procedure to unpack adn unwrap the tar file.
I set the CCOPTs to -Ae to enable ANSI and access to
the, "long long" type.
I typed ./configure -- with no arguments.
Then I typed make -- again with no arguments.
The make process stopped while making mit-pthreads with the
following message:
----------------------------------------------
gmake[2]: Entering directory `/vb/db_tmp/mysql-3.22.14b-gamma/mit-pthreads'
if [ -d obj ]; then true; else mkdir obj; fi
cp /dev/null obj/x
echo '#ifndef _SYS___CONFIG_H_' > ./include/pthread/config.h.new
echo '#define _SYS___CONFIG_H_' >> ./include/pthread/config.h.new
egrep '^#define _OS_HAS' ./config.h >> ./include/pthread/config.h.new
echo '#endif' >> ./include/pthread/config.h.new
mv -f ./include/pthread/config.h.new ./include/pthread/config.h
echo '#ifndef pthread_size_t' > ./include/pthread/ac-types.h.new
egrep '^#define pthread_' ./config.h >> ./include/pthread/ac-types.h.new
echo '#endif' >> ./include/pthread/ac-types.h.new
mv -f ./include/pthread/ac-types.h.new ./include/pthread/ac-types.h
echo '#ifndef _SYS___PATHS_H_' > ./include/pthread/paths.h.new
echo '#define _SYS___PATHS_H_' >> ./include/pthread/paths.h.new
egrep '^#define _PATH' ./config.h >> ./include/pthread/paths.h.new
echo '#endif' >> ./include/pthread/paths.h.new
mv -f ./include/pthread/paths.h.new ./include/pthread/paths.h
cc -I. -Iinclude -I/vb/db_tmp/mysql-3.22.14b-gamma/mit-pthreads/include
-DPTHREAD_KERNEL -g -c /vb/db_tmp/mysql-3.22.
14b-gamma/mit-pthreads/net/gethostbyaddr.c -o obj/gethostbyaddr.o
cpp: "endian.h", line 92: error 4062: "Undefined or invalid BYTE_ORDER";
cpp: "nameser.h", line 169: error 4062: "Undefined or invalid BYTE_ORDER";
gmake[2]: *** [obj/gethostbyaddr.o] Error 1
gmake[2]: Leaving directory `/vb/db_tmp/mysql-3.22.14b-gamma/mit-pthreads'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/vb/db_tmp/mysql-3.22.14b-gamma'
gmake: *** [all-recursive-am] Error 2
---------------------------------------------
>Fix:
Don't know.
>Submitter-Id: Dave Scroggins
>Originator: the superuser
>Organization:
HP ICBD California Design Center
>MySQL support: none
>Synopsis: Can't compile mit-pthreads on HP 755 running HPUX 10.20.
>Severity: critical
>Priority: high
>Category: mysql
>Class: support
>Release: mysql-3.22.14b-gamma (Source distribution)
>Environment:
System: HP-UX rattler B.10.20 A 9000/755 2008922375 two-user license
Some paths: /usr/contrib/bin/perl /usr/bin/make /opt/gnu/bin/gmake /usr/bin/cc
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes
Perl: This is perl, version 5.004_04 built for PA-RISC1.1
-----------------------------------------------------------
Send a mail to [EMAIL PROTECTED] with
unsubscribe mysql [EMAIL PROTECTED]
in the body of the message to unsubscribe from this list.