Re: udev-129 compile error with --disable-logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 1, 2008 at 11:16 PM, Matthias Schwarzott <zzam@xxxxxxxxxx> wrote:
> It seems udev-129 has some log-related name conflicts when compiling udev
> configured with --disable-logging
>
> libudev-ctrl.c: In function 'udev_ctrl_enable_receiving':
> libudev-ctrl.c:104: error: called object 'log_null' is not a function
> libudev-ctrl.c: In function 'ctrl_send':
> libudev-ctrl.c:161: error: called object 'log_null' is not a function

Oh, bad. I've changed:
  define err log_null
to:
  define err(udev, arg...) log_null(udev, ## arg)
now, which should do the trick. It's here:
  http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=d6b148cde2a8ca6dc32af2e1d95824ac3be926db

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux