Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher Curtis <ccurtis@ee.fit.edu>
To: monty@analytikerna.se
Cc: axp-list@redhat.com, mysql@tcx.se
Subject: Re: mysql: MySQL project...
Date: Wed, 11 Mar 1998 20:22:06 -0500 (EST)	[thread overview]
Message-ID: <Pine.GSO.3.96.980311201459.3150A-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <199803120039.CAA12827@monty.pp.sci.fi>

On Thu, 12 Mar 1998, Michael Widenius wrote:

> Christopher> First, in client/get_password.c, you must:
> Christopher> #define alpha_linux_port
> 
> I just added to the manual to the Alpha-linux section:

Good, thanks!  I'll recompile later and see if we can iron out the
redefinition warnings as well.  It is critical to add the other #include,
though.  You didn't mention it explicitly...

> Christopher> /*int sigwait(sigset_t *setp, int *sigp)*/
> Christopher> int sigwait __P ((__const sigset_t *__set, int *__sig))
> Christopher> {
> Christopher> 	#define setp __set
> Christopher> 	#define sigp __sig
> 
> Why this?   glibc should have a proper sigwait() also on Alpha-linux.

It does, but your definition conflicted with the built-in one.  I was
trying to just throw together a quick hack.  I guess this function should
not be included for Alpha-Linux.  I'll #define it out and see...

> Are you sure that the above libpthread.a file isn't for Intel-Linux ?

Yes, I got the archive from your FTP site.  It includes an Alpha-Linux
libpthreads.a archive, and an Intel-Linux libpthreads.so - I presume that
the .a depends on either a bunch of stuff in the .so, or other glibc2
libraries...

> Try to compile linuxthreads yourself, or even better, try to compile
> glibc 2.0.6!

I did compile linuxthreads, but sizeof( char ) kept returning 0.  I got it
to work be removing the shared library and leaving only the .a I got from
your site.  I'll have to play with this some more.  I cannot compile glibc
2.0.6 (btw: Your docs say to get glibc 2.5c instead of 2.0.5c) becuase the
linker seg faults.  I'll play with that later as well.

regards,
--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


           reply	other threads:[~1998-03-12  1:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199803120039.CAA12827@monty.pp.sci.fi>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox