NetBSD Problem Report #6958

Received: (qmail 12184 invoked from network); 7 Feb 1999 14:25:01 -0000
Message-Id: <199902071424.PAA00677@hardy.ps.uni-sb.de>
Date: Sun, 7 Feb 1999 15:24:49 +0100 (CET)
From: Benjamin Lorenz <lorenz@ps.uni-sb.de>
Reply-To: lorenz@ps.uni-sb.de
To: gnats-bugs@gnats.netbsd.org
Subject: moscow_ml package does not compile on 1.3.3
X-Send-Pr-Version: 3.95

>Number:         6958
>Category:       pkg
>Synopsis:       moscow_ml package does not compile on 1.3.3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 07 06:35:01 +0000 1999
>Closed-Date:    Mon Jul 19 23:48:16 +0000 1999
>Last-Modified:  Mon Jul 19 23:48:41 +0000 1999
>Originator:     
>Release:        1.3.3
>Organization:
Forschungsbereich Programmiersysteme, Uni des Saarlandes
>Environment:

System: NetBSD hardy 1.3.3 NetBSD 1.3.3 (HARDY) #0: Sat Feb 6 23:43:58 CET 1999 lorenz@hardy:/share/mars/NetBSD-1.3.3/sys/sys/arch/i386/compile/HARDY i386


>Description:

[...]
gcc -c -Dunix -O2 -fno-defer-pop -fPIC -o dynlib.o dynlib.c
dynlib.c: In function `dynlib_dlopen':
dynlib.c:18: `RTLD_GLOBAL' undeclared (first use this function)
[...]

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: "Johnny C. Lam" <lamj@stat.cmu.edu>
To: lorenz@ps.uni-sb.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6958: moscow_ml package does not compile on 1.3.3 
Date: Sun, 07 Feb 1999 17:20:27 -0500

 > [...]
 > gcc -c -Dunix -O2 -fno-defer-pop -fPIC -o dynlib.o dynlib.c
 > dynlib.c: In function `dynlib_dlopen':
 > dynlib.c:18: `RTLD_GLOBAL' undeclared (first use this function)
 > [...]

 Hmmm, when I made the package, I wasn't sure if it would work on a
 less-than-current system.  I guess you're the first to find out.

 My /usr/include/dlfcn.h includes the following:

 /*	$NetBSD: dlfcn.h,v 1.9 1998/09/05 13:11:07 pk Exp $	*/

 /* Values for dlopen `mode'. */
 #define RTLD_LAZY	1
 #define RTLD_NOW	2
 #define RTLD_GLOBAL	0x100		/* Allow global searches in object */
 #define RTLD_LOCAL	0x200
 #if !defined(_XOPEN_SOURCE)
 #define DL_LAZY		RTLD_LAZY	/* Compat */
 #endif

 How about you?

         -- Johnny C. Lam <lamj@stat.cmu.edu>

         Department of Statistics, Carnegie Mellon University
         http://www.stat.cmu.edu/~lamj/

From: Benjamin Lorenz <lorenz@ps.uni-sb.de>
To: lamj@stat.cmu.edu (Johnny C. Lam)
Cc: lorenz@ps.uni-sb.de, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6958: moscow_ml package does not compile on 1.3.3
Date: Mon, 8 Feb 1999 16:14:37 +0100 (CET)

 > > [...]
 > > gcc -c -Dunix -O2 -fno-defer-pop -fPIC -o dynlib.o dynlib.c
 > > dynlib.c: In function `dynlib_dlopen':
 > > dynlib.c:18: `RTLD_GLOBAL' undeclared (first use this function)
 > > [...]
 > 
 > Hmmm, when I made the package, I wasn't sure if it would work on a
 > less-than-current system.  I guess you're the first to find out.
 > 
 > My /usr/include/dlfcn.h includes the following:
 > 
 > /*	$NetBSD: dlfcn.h,v 1.9 1998/09/05 13:11:07 pk Exp $	*/
 > 
 > /* Values for dlopen `mode'. */
 > #define RTLD_LAZY	1
 > #define RTLD_NOW	2
 > #define RTLD_GLOBAL	0x100		/* Allow global searches in object */
 > #define RTLD_LOCAL	0x200
 > #if !defined(_XOPEN_SOURCE)
 > #define DL_LAZY		RTLD_LAZY	/* Compat */
 > #endif
 > 
 > How about you?

 /*      $NetBSD: dlfcn.h,v 1.3 1997/01/02 11:13:19 pk Exp $     */
 [...]
 /* Values for dlopen `mode'. */
 #define RTLD_LAZY       1
 #define RTLD_NOW        2
 #define DL_LAZY         RTLD_LAZY               /* Compat */

 Greetings,
 -- 
       Benjamin <lorenz@dfki.de>

Responsible-Changed-From-To: gnats-admin->pkg-manager 
Responsible-Changed-By: fair 
Responsible-Changed-When: Mon Apr 19 15:06:34 PDT 1999 
Responsible-Changed-Why:  
This PR is the responsibility of the NetBSD Package System Manager, 
not the GNATS database administrator. 
State-Changed-From-To: open->closed 
State-Changed-By: hubertf 
State-Changed-When: Mon Jul 19 16:48:16 PDT 1999 
State-Changed-Why:  
1.3.x had serious problems with dynamic loading on many platforms, 
don't expect too much here. Upgrade to 1.4. :-) 

- Hubert 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.