:: Re: [DNG] Packaging Vdev - compilat…
Inizio della pagina
Delete this message
Reply to this message
Autore: aitor_czr
Data:  
To: Didier Kryn, dng
Oggetto: Re: [DNG] Packaging Vdev - compilation errors and patch
Hi Didier,

On 03/22/2016 12:06 PM, Didier Kryn <kryn@???> wrote:
> kryn@apcnb98:~/Applications/vdev-plus/vdev$ gcc --version
> gcc (Debian 4.6.3-14) 4.6.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> kryn@apcnb98:~/Applications/vdev-plus/vdev$ make -C vdevd
> [...]
> /home/kryn/Applications/vdev-plus/vdev/build/sbin/device.o: In function
> `vdev_device_request_to_env':
> /home/kryn/Applications/vdev-plus/vdev/vdevd/device.c:257: undefined
> reference to `major'
> /home/kryn/Applications/vdev-plus/vdev/vdevd/device.c:268: undefined
> reference to `minor'
> /home/kryn/Applications/vdev-plus/vdev/build/sbin/device.o: In function
> `vdev_device_add':
> /home/kryn/Applications/vdev-plus/vdev/vdevd/device.c:863: undefined
> reference to `minor'
> /home/kryn/Applications/vdev-plus/vdev/vdevd/device.c:863: undefined
> reference to `major'
> ... same for several functions.
>
> This is corrected by my first patch, include-sysmacros.diff
> The two other patches allow the user to provide additional CFLAGS and/or
> LDFLAGS to better control building, for example to build statically or
> to provide librabies in non-standard places.
>
>       Didier


Did you install fskit and pstat? They are required by fs.

Aitor.