From kevin_kelleher@non.hp.com Fri Feb  2 19:52:48 2001
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f12IqlZ21124
	for <prolog@swi.psy.uva.nl>; Fri, 2 Feb 2001 19:52:47 +0100 (MET)
Received: from hpbs5001.boi.hp.com (hpbs5001.boi.hp.com [15.2.209.237])
	by palrel1.hp.com (Postfix) with ESMTP id 4468B8CA
	for <prolog@swi.psy.uva.nl>; Fri,  2 Feb 2001 10:52:40 -0800 (PST)
Received: from xpabh2.boi.hp.com (xpabh2.boi.hp.com [15.56.8.28]) by hpbs5001.boi.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id LAA11166 for <prolog@swi.psy.uva.nl>; Fri, 2 Feb 2001 11:52:39 -0700 (MST)
Received: by xpabh2.boi.hp.com with Internet Mail Service (5.5.2653.19)
	id <DYXQM93D>; Fri, 2 Feb 2001 10:51:39 -0800
Message-ID: <670D895CA648D41198EA00A0C9F2D42823EB1A@xrose01.rose.hp.com>
From: "KELLEHER,KEVIN (Non-HP-Roseville,ex1)" <kevin_kelleher@non.hp.com>
To: "'prolog@swi.psy.uva.nl'" <prolog@swi.psy.uva.nl>
Date: Fri, 2 Feb 2001 10:51:42 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [SWIPL] compiling prolog on HP-UX 11.00


To compile using gcc, I had to make a change in
pl-wam.c:  on line 68 I had to change the type of the
first parameter of dlsym from "shl_t" to "void *".

I've gotten as far as compiling pl, but it balks at
the command:

      ./pl -x pl.prc \
         -f none -F none \
         -g make_library_index\(\'../library\'\) \
         -t halt

It says,

      [FATAL ERROR
         Could not open resource database "pl.prc": Invalid argument]

The pl.prc file is present, however.

I found some "Hello, world" tests in the PORTING file, and when I
ran the first I got the "Hello, world" printout and the message

   [PROLOG SYSTEM ERROR:
        Undefined predicate: $load_additional_boot_files/0

   PROLOG STACK:
   ]

Can anyone help me resolve this?

Thanks,

Kevin Kelleher

