Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 17:47:22 +1000
From:      Alexander Logvinov <freebsd@akavia.ru>
To:        ports@freebsd.org
Subject:   porting software with Linux netlink(3)
Message-ID:  <96871949.20080415174722@akavia.ru>

next in thread | raw e-mail | index | archive | help
Hello!.

  I want to update palm/synce-* ports and get some problems while
  porting odccm from synce project. Is there any chance to get
  netlink(3) on FreeBSD?

  Here is some logs:

checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSYNCE... yes
checking for GLIB... yes
checking for GNET... yes
checking for DBUS... yes
checking for HAL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating man/Makefile
config.status: executing depfiles commands
=3D=3D=3D>  Building for synce-odccm-0.11
Making all in src
make  all-am
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-device-signals-marshal.o -MD -MP -MF .de=
ps/odccm-device-signals-marshal.Tpo -c -o odccm-device-signals-marshal.o od=
ccm-device-signals-marshal.c
mv -f .deps/odccm-device-signals-marshal.Tpo .deps/odccm-device-signals-mar=
shal.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-device-manager-signals-marshal.o -MD -MP=
 -MF .deps/odccm-device-manager-signals-marshal.Tpo -c -o odccm-device-mana=
ger-signals-marshal.o odccm-device-manager-signals-marshal.c
mv -f .deps/odccm-device-manager-signals-marshal.Tpo .deps/odccm-device-man=
ager-signals-marshal.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o=
 util.c
mv -f .deps/util.Tpo .deps/util.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-errors.o -MD -MP -MF .deps/odccm-errors.=
Tpo -c -o odccm-errors.o odccm-errors.c
mv -f .deps/odccm-errors.Tpo .deps/odccm-errors.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-connection-broker.o -MD -MP -MF .deps/od=
ccm-connection-broker.Tpo -c -o odccm-connection-broker.o odccm-connection-=
broker.c
mv -f .deps/odccm-connection-broker.Tpo .deps/odccm-connection-broker.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-device.o -MD -MP -MF .deps/odccm-device.=
Tpo -c -o odccm-device.o odccm-device.c
mv -f .deps/odccm-device.Tpo .deps/odccm-device.Po
cc -DPACKAGE_NAME=3D\"odccm\" -DPACKAGE_TARNAME=3D\"odccm\" -DPACKAGE_VERSI=
ON=3D\"0.11\" -DPACKAGE_STRING=3D\"odccm\ 0.11\" -DPACKAGE_BUGREPORT=3D\"\"=
 -DPACKAGE=3D\"odccm\" -DVERSION=3D\"0.11\" -DSTDC_HEADERS=3D1 -DENABLE_LEG=
ACY_SUPPORT=3D1 -I.     -Wall -I/usr/local/include   -I/usr/local/include/g=
lib-2.0 -I/usr/local/lib/glib-2.0/include   -D_REENTRANT -I/usr/local/inclu=
de/gnet-2.0 -I/usr/local/lib/gnet-2.0/include/ -I/usr/local/include/glib-2.=
0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/dbus-1.0 -I/usr/=
local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/l=
ib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal=
 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -O2 -f=
no-strict-aliasing -pipe -MT odccm-device-manager.o -MD -MP -MF .deps/odccm=
-device-manager.Tpo -c -o odccm-device-manager.o odccm-device-manager.c
odccm-device-manager.c:25:27: error: linux/netlink.h: No such file or direc=
tory
odccm-device-manager.c: In function 'udev_read_cb':
odccm-device-manager.c:744: warning: passing argument 2 of 'g_io_channel_re=
ad' from incompatible pointer type
odccm-device-manager.c: In function 'init_udev':
odccm-device-manager.c:792: error: storage size of 'snl' isn't known
odccm-device-manager.c:798: error: invalid application of 'sizeof' to incom=
plete type 'struct sockaddr_nl'=20
odccm-device-manager.c:799: error: 'AF_NETLINK' undeclared (first use in th=
is function)
odccm-device-manager.c:799: error: (Each undeclared identifier is reported =
only once
odccm-device-manager.c:799: error: for each function it appears in.)
odccm-device-manager.c:803: warning: implicit declaration of function 'sock=
et'
odccm-device-manager.c:803: error: 'PF_NETLINK' undeclared (first use in th=
is function)
odccm-device-manager.c:803: error: 'SOCK_DGRAM' undeclared (first use in th=
is function)
odccm-device-manager.c:803: error: 'NETLINK_KOBJECT_UEVENT' undeclared (fir=
st use in this function)
odccm-device-manager.c:810: warning: implicit declaration of function 'bind'
odccm-device-manager.c:811: error: invalid application of 'sizeof' to incom=
plete type 'struct sockaddr_nl'=20
odccm-device-manager.c:792: warning: unused variable 'snl'
*** Error code 1


--=20
WBR




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96871949.20080415174722>