[830] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: arla on NeXTSTEP3.3/Intel

daemon@ATHENA.MIT.EDU (Helmut Heller)
Sat May 15 22:26:53 1999

From owner-arla-drinkers@stacken.kth.se Sun May 16 02:26:52 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 5565 invoked from network); 16 May 1999 02:26:51 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 16 May 1999 02:26:50 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id EAA17315
	for arla-drinkers-list; Sun, 16 May 1999 04:18:22 +0200 (MET DST)
Received: from assaris.sics.se (assaris.sics.se [193.10.66.108])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id EAA17308;
	Sun, 16 May 1999 04:17:49 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id EAA02287; Sun, 16 May 1999 04:21:15 +0200 (CEST)
Message-Id: <9905111535.AA27499@next.lrz-muenchen.de>
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Content-Type: multipart/mixed; boundary=NeXT-Mail-318895879-14
Content-Transfer-Encoding: 7bit
X-Image-Url: http://www.lrz.de/~heller/hheller.tiff
X-Face: #K8+M!=vK|\bQ[&P:z)d$Q:i(@36P1!7if~nI%OB\9I>;p5Vs<_YkU;].K(chZJ,k8X96t
	]!d?;H/|Jc:Hr-hhbBow![@FkT0xNOVXK|TO%Jg@Xz<z|uVs,@UjxkuWF"W&fK[SUZI'xL
	zS+rYcYYg\vFh_r^d!.;O!-cOu0Cd
In-Reply-To: <5ln1zbrd2k.fsf@assaris.sics.se>
X-Nextstep-Mailer: Mail 3.3 (Enhance 2.2p1)
From: Helmut Heller <Helmut.Heller@lrz-muenchen.de>
Date: Tue, 11 May 1999 17:34:59 +0200
To: assar@stacken.kth.se
Subject: Re: arla on NeXTSTEP3.3/Intel
Cc: Helmut.Heller@lrz-muenchen.de, arla-drinkers@stacken.kth.se, lxs@mit.edu
Reply-To: Helmut.Heller@lrz-muenchen.de
References: <9904160954.AA01752@next.lrz-muenchen.de> 
	<5lyaiyd42p.fsf@assaris.sics.se>
	<9905110852.AA17019@next.lrz-muenchen.de>
	<5ln1zbrd2k.fsf@assaris.sics.se>
X-Reply-Format: NeXT Mail preferred
X-Url: http://www.lrz.de/~heller
Lines: 199
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

--NeXT-Mail-318895879-14
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: 7bit

[ this was bounced by majordomo as it was rather large.  I have cut
out the large attachments.

Helmut: I think people would appreciate it if you made them available
by ftp/http and just included pointers to them in your mail.  I don't
think all the readers of the mailinglist are that interested in these
long files.   Thanks.  /assar ]

You wrote:

> > Well, as a matter of fact, I *do* have a working X11 (this is

> > available as shareware), but my X11 does not have

> > IceConnectionNumber() and other symbols, so the linking fails. So this

> > is a more local thing, nothing to include in a general config file.

> 

> But we never call IceConnectionNumber so I don't see why it should

> matter.  So, does configure thinks you have X11, right?  What does

> fail then when building amon?


Ah, I *did* find the sources (arla 0.21), so I can play with it.


Well, IceConnectionNumber is checked for in configure:


next 49 cpu> find . -exec grep IceConnectionNumber  ; -print

  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6

echo "configure:2201: checking for IceConnectionNumber in -lICE" >&5

ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`

char IceConnectionNumber();

IceConnectionNumber()

./configure



I will try a 

make clean 

and then a

rm config.cache

and 

./configure

without any arguments:


[ ... config.log cut out ... ]

[ ... config.cache cut out ... ]

[ ... config.status cut out ... ]

[ ... config.stdout cut out ... ]

[ ... several make logs cut out ... ]

--NeXT-Mail-318895879-14
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: quoted-printable



now we have two choices: either use cc -bsd here, or change config.h to=20

/* #undefine HAVE_SYS_UTSNAME_H  */

which I do. Perhaps the check in configure for HAVE_SYS_UTSNAME_H should =
use the -posix flag or make otherwise sure that only POSIX header files =
are considered. Or it should have hard wired that NeXTSTEP does=20
<bold>not
</bold> have HAVE_SYS_UTSNAME_H in POSIX mode.


[ ... and more make logs ... ]

--NeXT-Mail-318895879-14
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: quoted-printable



mode_t is only available in bsd mode:


<italic>next 80 cpu> cd /usr/include

next 81 cpu> find . -exec grep mode_t  ; -print

        typedef unsigned short  mode_t;

./bsd/sys/types.h

                mode_t  st_mode;        /* File type and access */

                        extern int chmod(const char *path, mode_t mode);

                        extern int mkdir(const char *path, mode_t mode);

                        extern int mkfifo(const char *path, mode_t mode);

                        extern mode_t umask(mode_t cmask);

                        extern mode_t umask();

./bsd/sys/stat.h

                extern creat(const char *path, mode_t mode);

./bsd/sys/fcntl.h

typedef int /* default */ _G_mode_t;

./g++/_G_config.h




</italic>same for nlink_t:


<italic>next 82 cpu> find . -exec grep nlink_t  ; -print

        typedef short   nlink_t;

./bsd/sys/types.h

                nlink_t st_nlink;       /* File link count */

./bsd/sys/stat.h

typedef int /* default */ _G_nlink_t;

./g++/_G_config.h


</italic>
Probably here the real porting effort starts. Well, well....


I never did any kernel stuff before...if you want to, I can give you a =
guest account on my machine :-) And there are other kernel modules, e.g., =
the PPP stuff at=20

http://www.thoughtport.com:8080/PPP/Latest_version.html

ftp://ftp.peak.org/pub/next/apps/internet/ppp/dev/





---

Servus, Helmut  (DH0MAD)   =20
______________NeXT-mail welcome_________________

FAX: +49-89-280-9460        "
Knowledge must be gathered and cannot be given
"

heller@lrz.de                                      =20
ZEN, one of BLAKES7

Phone: +49-89-289-28823    =20
------------------------------------------------

Dr. Helmut Heller                                   =20

Leibniz-Rechenzentrum (LRZ)                        =20

High Performance Computing Group

Barer Str. 21, Zi S2515, 80333 Munich, GERMANY    =20


--NeXT-Mail-318895879-14--


home help back first fref pref prev next nref lref last post