DragonFly users List (threaded) for 2007-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Help with undefined library symbol?
On Sat, 2007-02-24 at 14:57 +0100, Simon 'corecode' Schubert wrote:
> walt wrote:
> > The same code in FreeBSD produces a defined symbol instead, but
> > I don't see what make the difference. The code is surrounded by
> > ifdefs which I eventually deleted out of pure desperation, but
> > it made no difference.
>
> Compiling your snippet produced a symbol for me. Hence it must be the ifdefs.
I traced the problem to configure.ac and tried this change:
--- configure.ac.orig 2007-02-24 10:54:21.000000000 -0800
+++ configure.ac 2007-02-24 10:57:14.000000000 -0800
@@ -860,7 +860,7 @@
*-*-sunos* | *-*-solaris* | *-*-linux*)
AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is
in Solaris style])
;;
- *-*-freebsd*)
+ *-*-freebsd* | *-*-dragonfly*)
AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in
BSD style])
;;
*-*-netbsd* | *-*-openbsd*)
I expected that to work, but the resulting 'configure' was no different:
;;
*-*-freebsd*)
cat >>confdefs.h <<\_ACEOF
#define BEEP_CDROM_BSD
_ACEOF
Do you see any reason that patch shouldn't generate the right stuff
in 'configure'?
Thanks.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]