From owner-freebsd-ports@FreeBSD.ORG Tue Apr 15 08:10:34 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B572106566C for ; Tue, 15 Apr 2008 08:10:34 +0000 (UTC) (envelope-from freebsd@akavia.ru) Received: from blg.akavia.ru (blg.akavia.ru [62.33.174.250]) by mx1.freebsd.org (Postfix) with ESMTP id B49F98FC1B for ; Tue, 15 Apr 2008 08:10:32 +0000 (UTC) (envelope-from freebsd@akavia.ru) Received: from ADMIN (localhost [127.0.0.1]) by blg.akavia.ru (8.14.2/8.14.2) with ESMTP id m3F7lN8r039906 for ; Tue, 15 Apr 2008 17:47:24 +1000 (YAKST) (envelope-from freebsd@akavia.ru) Date: Tue, 15 Apr 2008 17:47:22 +1000 From: Alexander Logvinov X-Mailer: The Bat! (v4.0.20) Professional Organization: AKA X-Priority: 3 (Normal) Message-ID: <96871949.20080415174722@akavia.ru> To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: porting software with Linux netlink(3) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Logvinov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 08:10:34 -0000 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