Hi Rob,
round() is a standard maths function.
Could you try adding the following include line into the list
of includes around line 91 of file fcdpp.c
#include "math.h"
Mike.
On Sat, 6 Apr 2013 13:53:55 -0700 (PDT)
Rob PE1ITR <
r...@itr-datanet.com> wrote:
>
> Hi,
>
> I have some compiling errors with 03.48. (running fedora 10)
>
> 1)
> fcdpp.c: In functie �fcdproplus_rx_freq_control�:
> fcdpp.c:260: fout: impliciete declaratie van functie �round�
> fcdpp.c:260: fout: onverenigbare impliciete declaratie van ingebouwde
> functie �round�
> make: *** [fcdpp.ol] Fout 1
>
> When I remove the round function there are errors in hid.c
>
> In bestand ingevoegd vanuit hid.c:55:
> /usr/include/libudev.h:25:2: fout: #error "#define
> LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE is needed to use this
> experimental library version"
> In file included from hid.c:55:
> /usr/include/libudev.h:38: fout: expected declaration specifiers or
> �...� before �va_list�
> cc1: warnings being treated as errors
> hid.c: In functie �copy_udev_string�:
> hid.c:99: fout: impliciete declaratie van functie
> �udev_device_get_sysattr_value�
> hid.c:99: fout: assignment makes pointer from integer without a cast
> hid.c: In functie �get_device_string�:
> hid.c:192: fout: impliciete declaratie van functie
> �udev_device_new_from_devnum�
> hid.c:192: fout: assignment makes pointer from integer without a cast
> hid.c:196: fout: impliciete declaratie van functie
> �udev_device_get_parent_with_subsystem_devtype�
> hid.c:199: fout: assignment makes pointer from integer without a cast
> hid.c:201: fout: assignment makes pointer from integer without a cast
> hid.c: In functie �hid_enumerate�:
> hid.c:250: fout: impliciete declaratie van functie
> �udev_enumerate_new� hid.c:250: fout: assignment makes pointer from
> integer without a cast hid.c:251: fout: impliciete declaratie van
> functie �udev_enumerate_add_match_subsystem�
> hid.c:252: fout: impliciete declaratie van functie
> �udev_enumerate_scan_devices�
> hid.c:253: fout: impliciete declaratie van functie
> �udev_enumerate_get_list_entry�
> hid.c:253: fout: assignment makes pointer from integer without a cast
> hid.c:256: fout: impliciete declaratie van functie
> �udev_list_entry_foreach� hid.c:256: fout: expected �;� before �{�
> token hid.c:238: fout: unused variable �cur_dev�
> hid.c:231: fout: unused parameter �vendor_id�
> hid.c:231: fout: unused parameter �product_id�