Displaying 3 results from an estimated 3 matches for "dl_lazy".
2001 Mar 16
3
Patches for NetBSD
....1.1.1 2001/03/15 20:35:58 wiz Exp $
--- ../libao-0.6.0.orig/src/audio_out.c Fri Feb 23 17:31:46 2001
+++ src/audio_out.c Thu Mar 15 10:21:55 2001
@@ -63,7 +63,7 @@
driver_tree_t *dt;
void *handle;
- handle = dlopen(plugin_file, RTLD_NOW);
+ handle = dlopen(plugin_file, DL_LAZY);
if (handle) {
dt = (driver_tree_t *)malloc(sizeof(driver_tree_t));
if (!dt) return NULL;
$NetBSD: patch-ad,v 1.1 2001/03/16 10:10:35 wiz Exp $
--- src/ao_wav.c.orig Sat Feb 24 02:31:46 2001
+++ src/ao_wav.c
@@ -221,7 +221,7 @@
/* Swap...
2001 Mar 13
1
Compiling vorbis-tools on NetBSD-1.5/i386
...ram was:
#line 2607 "ltconfig"
#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif
#include <stdio.h>
#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
# define LTDL_GLOBAL DL_GLOBAL
# else
# define LTDL_GLOBAL 0
# endif
#endif
/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
# define LTDL_LAZY_OR_NOW RTLD_LAZY
# else
# ifdef DL_LAZY
# define LTDL_LAZY_OR_NOW DL_LAZY
# else
# ifdef RTLD_NOW
# define LTDL_LAZY_OR_NOW RTLD_NOW
# else
#...
2001 Mar 13
2
Followup to compiling Ogg on NetBSD-1.5/i386
Hi Jeremy,
I went through the list archives, and have been trying to follow and
implement things as I understand:
1. libao needs <sys/soundcard.h> and <machine/soundcard.h>, and so I
linked /usr/include/soundcard.h there.
2. Since `soundcard.h' doesn't have SNDCTL_DSP_GETODELAY, I uncommented
that particular line in `src/plugins/oss/ao_oss.c'. These steps made sure