From seppel18 at hotmail.com Thu Apr 19 17:25:40 2012 From: seppel18 at hotmail.com (Sebastian ---) Date: Thu, 19 Apr 2012 19:25:40 +0200 Subject: Problems Building DECT Stack Message-ID: Hi First Problem: When I try to Build libdect (libnl was build and Installed without any critical errors): root at bt:/home/libdect# sh configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed configure: Documentation build disabled checking for nl_socket_alloc in -lnl... no configure: error: No suitable version of libnl found Second Problem: When I Put in my com-on-air PCMCIA Card, and look in Kern.log: Apr 19 19:06:26 bt kernel: [ 13.847922] com_on_air_cs 0.0: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.888290] com_on_air_cs 0.0: Radio type U2785B Apr 19 19:06:26 bt kernel: [ 13.901784] com_on_air_cs 0.0: Loading firmware ... Apr 19 19:06:26 bt kernel: [ 13.996529] pcmcia 0.1: pcmcia: registering new device pcmcia0.1 (IRQ: 3) Apr 19 19:06:26 bt kernel: [ 13.996740] com_on_air_cs 0.1: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.996818] com_on_air_cs 0.1: failed to enable PCMCIA device Apr 19 19:06:26 bt kernel: [ 13.996880] com_on_air_cs: probe of 0.1 failed with error -13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From seppel18 at hotmail.com Fri Apr 20 08:54:05 2012 From: seppel18 at hotmail.com (Sebastian ---) Date: Fri, 20 Apr 2012 10:54:05 +0200 Subject: Problems Building DECT Stack In-Reply-To: References: Message-ID: Hi First Problem: When I try to Build libdect (libnl was build and Installed without any critical errors): root at bt:/home/libdect# sh configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed configure: Documentation build disabled checking for nl_socket_alloc in -lnl... no configure: error: No suitable version of libnl found Second Problem: When I Put in my com-on-air PCMCIA Card, and look in Kern.log: Apr 19 19:06:26 bt kernel: [ 13.847922] com_on_air_cs 0.0: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.888290] com_on_air_cs 0.0: Radio type U2785B Apr 19 19:06:26 bt kernel: [ 13.901784] com_on_air_cs 0.0: Loading firmware ... Apr 19 19:06:26 bt kernel: [ 13.996529] pcmcia 0.1: pcmcia: registering new device pcmcia0.1 (IRQ: 3) Apr 19 19:06:26 bt kernel: [ 13.996740] com_on_air_cs 0.1: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.996818] com_on_air_cs 0.1: failed to enable PCMCIA device Apr 19 19:06:26 bt kernel: [ 13.996880] com_on_air_cs: probe of 0.1 failed with error -13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.huemer at xx.vu Fri Apr 20 09:06:55 2012 From: alexander.huemer at xx.vu (Alexander Huemer) Date: Fri, 20 Apr 2012 11:06:55 +0200 Subject: Problems Building DECT Stack In-Reply-To: References: Message-ID: <20120420090655.GD5351@de.xx.vu> Hi Sebastian, On Fri, Apr 20, 2012 at 10:54:05AM +0200, Sebastian --- wrote: > configure: error: No suitable version of libnl found > This seems to be easy to fix. Install a suitable version of libnl. Kind regards, -Alexander Huemer From seppel18 at hotmail.com Fri Apr 20 13:04:41 2012 From: seppel18 at hotmail.com (Sebastian ---) Date: Fri, 20 Apr 2012 15:04:41 +0200 Subject: Problems Building DECT Stack In-Reply-To: <20120420111003.GE5351@de.xx.vu> References: , , <20120420090655.GD5351@de.xx.vu>, , <20120420111003.GE5351@de.xx.vu> Message-ID: Which Version seems suitable? I Installed the Version from dect.osmocom.org. Maybe something went wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.huemer at xx.vu Fri Apr 20 13:32:09 2012 From: alexander.huemer at xx.vu (Alexander Huemer) Date: Fri, 20 Apr 2012 15:32:09 +0200 Subject: Problems Building DECT Stack In-Reply-To: References: <20120420090655.GD5351@de.xx.vu> <20120420111003.GE5351@de.xx.vu> Message-ID: <20120420133208.GF5351@de.xx.vu> On Fri, Apr 20, 2012 at 03:04:41PM +0200, Sebastian --- wrote: > > Which Version seems suitable? > > I Installed the Version from dect.osmocom.org. Maybe something went wrong? > Most likely libnl is okay but is not found. The emphasis was on "install", not on "suitable version". Take a look at the check that is done in configure.ac, there isn't any version checking. Reading config.log also helps in understanding why a configure run failed. Make sure the linker can find the .so. Actually, if you just enter the commands from the "Build instructions" page, it won't work. Kind regards, -Alexander Huemer From erik at datenzone.de Fri Apr 20 13:56:49 2012 From: erik at datenzone.de (Erik Tews) Date: Fri, 20 Apr 2012 15:56:49 +0200 Subject: Problems Building DECT Stack In-Reply-To: <20120420133208.GF5351@de.xx.vu> References: <20120420090655.GD5351@de.xx.vu> <20120420111003.GE5351@de.xx.vu> <20120420133208.GF5351@de.xx.vu> Message-ID: <1334930209.6755.0.camel@lap19.cdc.informatik.tu-darmstadt.de> Perhaps posting the last lines of config.log might help us to find out, what went wrong with libnl. Am Freitag, den 20.04.2012, 15:32 +0200 schrieb Alexander Huemer: > On Fri, Apr 20, 2012 at 03:04:41PM +0200, Sebastian --- wrote: > > > > Which Version seems suitable? > > > > I Installed the Version from dect.osmocom.org. Maybe something went wrong? > > > Most likely libnl is okay but is not found. > The emphasis was on "install", not on "suitable version". > Take a look at the check that is done in configure.ac, there isn't any > version checking. > Reading config.log also helps in understanding why a configure run > failed. > Make sure the linker can find the .so. > Actually, if you just enter the commands from the "Build instructions" > page, it won't work. > > Kind regards, > -Alexander Huemer > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From samuel at sieb.net Sat Apr 21 03:57:56 2012 From: samuel at sieb.net (Samuel Sieb) Date: Fri, 20 Apr 2012 20:57:56 -0700 Subject: Problems Building DECT Stack In-Reply-To: <20120420133208.GF5351@de.xx.vu> References: <20120420090655.GD5351@de.xx.vu> <20120420111003.GE5351@de.xx.vu> <20120420133208.GF5351@de.xx.vu> Message-ID: <4F923044.4060706@sieb.net> Alexander Huemer wrote: > Most likely libnl is okay but is not found. > The emphasis was on "install", not on "suitable version". > Take a look at the check that is done in configure.ac, there isn't any > version checking. > Reading config.log also helps in understanding why a configure run > failed. > Make sure the linker can find the .so. > Actually, if you just enter the commands from the "Build instructions" > page, it won't work. > Configure won't be looking for the .so. It will be looking for the .h file or the pkgconfig info. You need to install the dev or devel package for libnl. From seppel18 at hotmail.com Tue Apr 24 06:55:00 2012 From: seppel18 at hotmail.com (Sebastian ---) Date: Tue, 24 Apr 2012 08:55:00 +0200 Subject: Problems Building DECT Stack In-Reply-To: <4F923044.4060706@sieb.net> References: , , <20120420090655.GD5351@de.xx.vu>, , <20120420111003.GE5351@de.xx.vu>, , <20120420133208.GF5351@de.xx.vu>, <4F923044.4060706@sieb.net> Message-ID: > Date: Fri, 20 Apr 2012 20:57:56 -0700 > From: samuel at sieb.net > To: linux-dect at lists.osmocom.org > Subject: Re: Problems Building DECT Stack > > Alexander Huemer wrote: > > Most likely libnl is okay but is not found. > > The emphasis was on "install", not on "suitable version". > > Take a look at the check that is done in configure.ac, there isn't any > > version checking. > > Reading config.log also helps in understanding why a configure run > > failed. > > Make sure the linker can find the .so. > > Actually, if you just enter the commands from the "Build instructions" > > page, it won't work. > > > Configure won't be looking for the .so. It will be looking for the .h file or > the pkgconfig info. You need to install the dev or devel package for libnl. > I Uninstalled the devel Package, then it worked. But I still have problems with: Apr 19 19:06:26 bt kernel: [ 13.847922] com_on_air_cs 0.0: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.888290] com_on_air_cs 0.0: Radio type U2785B Apr 19 19:06:26 bt kernel: [ 13.901784] com_on_air_cs 0.0: Loading firmware ... Apr 19 19:06:26 bt kernel: [ 13.996529] pcmcia 0.1: pcmcia: registering new device pcmcia0.1 (IRQ: 3) Apr 19 19:06:26 bt kernel: [ 13.996740] com_on_air_cs 0.1: DECTDataDevice PCMCIA F22 Apr 19 19:06:26 bt kernel: [ 13.996818] com_on_air_cs 0.1: failed to enable PCMCIA device Apr 19 19:06:26 bt kernel: [ 13.996880] com_on_air_cs: probe of 0.1 failed with error -13 When I try to scan for FPs with dectmon, it doesnt find anything. Help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.huemer at xx.vu Tue Apr 24 07:42:16 2012 From: alexander.huemer at xx.vu (Alexander Huemer) Date: Tue, 24 Apr 2012 09:42:16 +0200 Subject: Problems Building DECT Stack In-Reply-To: <4F923044.4060706@sieb.net> References: <20120420090655.GD5351@de.xx.vu> <20120420111003.GE5351@de.xx.vu> <20120420133208.GF5351@de.xx.vu> <4F923044.4060706@sieb.net> Message-ID: <20120424074216.GC30300@de.xx.vu> Hi Samuel, In configure.ac of libdect I see: # Checks for libraries. AC_CHECK_LIB([nl], [nl_socket_alloc], , [AC_MSG_ERROR([No suitable version of libnl found])]) The resulting conftest is: configure:3400: gcc -o conftest -g -O2 conftest.c -lnl >&5 /usr/bin/ld: cannot find -lnl collect2: ld returned 1 exit status configure:3400: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libdect" | #define PACKAGE_TARNAME "libdect" | #define PACKAGE_VERSION "0.0.1" | #define PACKAGE_STRING "libdect 0.0.1" | #define PACKAGE_BUGREPORT "kaber at trash.net" | #define PACKAGE_URL "" | #define RELEASE_NAME "libdect" | #define _GNU_SOURCE /**/ | #define _STDC_FORMAT_MACROS /**/ | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char nl_socket_alloc (); | int | main () | { | return nl_socket_alloc (); | ; | return 0; | } configure:3409: result: no configure:3419: error: No suitable version of libnl found * No PKG_CHECK_MODULES used * No AC_CHECK_HEADERS used * AC_CHECK_LIB used On Fri, Apr 20, 2012 at 08:57:56PM -0700, Samuel Sieb wrote: > Configure won't be looking for the .so. It will be looking for the > .h file or the pkgconfig info. You need to install the dev or devel > package for libnl. > Are you really sure that this is correct? Kind regards, -Alexander Huemer From samuel at sieb.net Tue Apr 24 17:16:14 2012 From: samuel at sieb.net (Samuel Sieb) Date: Tue, 24 Apr 2012 10:16:14 -0700 Subject: Problems Building DECT Stack In-Reply-To: <20120424074216.GC30300@de.xx.vu> References: <20120420090655.GD5351@de.xx.vu> <20120420111003.GE5351@de.xx.vu> <20120420133208.GF5351@de.xx.vu> <4F923044.4060706@sieb.net> <20120424074216.GC30300@de.xx.vu> Message-ID: <4F96DFDE.3000705@sieb.net> Alexander Huemer wrote: > On Fri, Apr 20, 2012 at 08:57:56PM -0700, Samuel Sieb wrote: >> Configure won't be looking for the .so. It will be looking for the >> .h file or the pkgconfig info. You need to install the dev or devel >> package for libnl. >> > Are you really sure that this is correct? > Ok, I should have said "usually". :-) You will still need the devel package for the headers anyways. Although looking back at the earlier messages, he said he compiled libnl himself, so adding the packages may mix things up.