Package Details: libosmocore 1.9.2-2

Git Clone URL: https://aur.archlinux.org/libosmocore.git (read-only, click to copy)
Package Base: libosmocore
Description: Osmocom core libraries
Upstream URL: https://osmocom.org/projects/libosmocore/
Licenses: GPL
Provides: libosmocodec.so, libosmocoding.so, libosmocore.so, libosmoctrl.so, libosmogb.so, libosmogsm.so, libosmoisdn.so, libosmosim.so, libosmousb.so, libosmovty.so
Submitter: asdil12
Maintainer: fixeria
Last Packager: fixeria
Votes: 17
Popularity: 0.160144
First Submitted: 2012-03-08 09:58 (UTC)
Last Updated: 2024-01-27 20:53 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

fixeria commented on 2022-03-26 10:56 (UTC)

Also, I suggest to build with '--enable-systemd-logging'. This option allows using systemd-journal as a logging target. Debian and CentOS packages are built with it. This adds a new dependency 'systemd-libs'. Maybe we could make it optional somehow?

fixeria commented on 2022-03-26 10:51 (UTC)

Please change project URL to 'https://osmocom.org/projects/libosmocore/'. Thanks!

matt9j commented on 2022-01-31 02:21 (UTC)

@GNUtoo, thank you for the patch. I was not able to apply it cleanly (there is possibly some whitespace formatting getting mangled with the post to the AUR?), but I added the changes you indicated and created a commit with you as the author. Thank you for the fix for building in a clean environment!

GNUtoo commented on 2022-01-27 14:05 (UTC)

Hi,

I've a patch for libosmocore:

From 0abdef613152c6e78f276b8a164469a100eeb388 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Date: Thu, 27 Jan 2022 15:00:26 +0100
Subject: [PATCH] Add libusb in makedepends

If we don't have libusb installed, the build fails:
 |  checking for LIBUSB... no
 |  configure: error: Package requirements (libusb-1.0) were not met:
 |
 |  Package 'libusb-1.0', required by 'virtual:world', not found
 |
 |  Consider adjusting the PKG_CONFIG_PATH environment variable if you
 |  installed software in a non-standard prefix.
 |
 |  Alternatively, you may set the environment variables LIBUSB_CFLAGS
 |  and LIBUSB_LIBS to avoid the need to call pkg-config.
 |  See the pkg-config man page for more details.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 .SRCINFO | 2 +-
 PKGBUILD | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3746a00..4671620 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = libosmocore
    pkgdesc = core libs for osmocom
    pkgver = 1.6.0
-   pkgrel = 1
+   pkgrel = 2
    url = http://bb.osmocom.org/trac/wiki/libosmocore
    arch = armv7h
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8fb16d6..4b3f093 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname=libosmocore
 pkgver=1.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="core libs for osmocom"
 arch=('armv7h' 'i686' 'x86_64')
 url="http://bb.osmocom.org/trac/wiki/libosmocore"
@@ -13,7 +13,7 @@ groups=()
 provides=()
 depends=('pcsclite' 'lksctp-tools' 'talloc' 'gnutls')
 optdepends=('libusb: libosmousb support')
-makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config')
+makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config' 'libusb')

 source=("git://git.osmocom.org/libosmocore.git#tag=$pkgver")
 md5sums=('SKIP')
-- 
2.34.1

semjon00 commented on 2022-01-14 11:53 (UTC)

Please update to 1.6.0

dreieck commented on 2021-09-30 12:43 (UTC)

I also get the error which @BoBeR182 reported:

Build fails for me with linking errors (/usr/bin/ld: [...] first defined here):

[...]
Making all in src/coding
make[2]: Entering directory '/[...]/libosmocore/src/libosmocore/src/coding'
  CC       gsm0503_interleaving.lo
  CC       gsm0503_tables.lo
  CC       gsm0503_mapping.lo
  CC       gsm0503_parity.lo
  CC       gsm0503_coding.lo
  CCLD     libosmocoding.la
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x128): multiple definition of `gsm0503_mcs_crc12'; .libs/gsm0503_parity.o:(.rodata+0x30): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x138): multiple definition of `gsm0503_mcs_crc8_hdr'; .libs/gsm0503_parity.o:(.rodata+0x40): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x160): multiple definition of `gsm0503_fire_crc40'; .libs/gsm0503_parity.o:(.rodata+0x60): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x140): multiple definition of `gsm0503_cs234_crc16'; .libs/gsm0503_parity.o:(.rodata+0x48): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x108): multiple definition of `gsm0503_tch_fr_crc3'; .libs/gsm0503_parity.o:(.rodata+0x10): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x100): multiple definition of `gsm0503_tch_efr_crc8'; .libs/gsm0503_parity.o:(.rodata+0x8): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0xf8): multiple definition of `gsm0503_amr_crc6'; .libs/gsm0503_parity.o:(.rodata+0x0): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x120): multiple definition of `gsm0503_rach_crc6'; .libs/gsm0503_parity.o:(.rodata+0x28): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x110): multiple definition of `gsm0503_sch_crc10'; .libs/gsm0503_parity.o:(.rodata+0x18): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:495: libosmocoding.la] Error 1
make[2]: Leaving directory '/[...]/libosmocore/src/libosmocore/src/coding'
make[1]: *** [Makefile:689: all-recursive] Error 1
make[1]: Leaving directory '/[...]/libosmocore/src/libosmocore'
make: *** [Makefile:470: all] Error 2

mansuetus commented on 2020-11-23 11:27 (UTC)

@BoBeR182 https://aur.archlinux.org/packages/libosmocore-git/

BoBeR182 commented on 2020-07-29 13:23 (UTC)

  CC       gsm0503_interleaving.lo
  CC       gsm0503_mapping.lo
  CC       gsm0503_tables.lo
  CC       gsm0503_parity.lo
  CC       gsm0503_coding.lo
  CCLD     libosmocoding.la
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x128): multiple definition of `gsm0503_mcs_crc12'; .libs/gsm0503_parity.o:(.rodata+0x30): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x138): multiple definition of `gsm0503_mcs_crc8_hdr'; .libs/gsm0503_parity.o:(.rodata+0x40): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x160): multiple definition of `gsm0503_fire_crc40'; .libs/gsm0503_parity.o:(.rodata+0x60): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x140): multiple definition of `gsm0503_cs234_crc16'; .libs/gsm0503_parity.o:(.rodata+0x48): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x108): multiple definition of `gsm0503_tch_fr_crc3'; .libs/gsm0503_parity.o:(.rodata+0x10): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x100): multiple definition of `gsm0503_tch_efr_crc8'; .libs/gsm0503_parity.o:(.rodata+0x8): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0xf8): multiple definition of `gsm0503_amr_crc6'; .libs/gsm0503_parity.o:(.rodata+0x0): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x120): multiple definition of `gsm0503_rach_crc6'; .libs/gsm0503_parity.o:(.rodata+0x28): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x110): multiple definition of `gsm0503_sch_crc10'; .libs/gsm0503_parity.o:(.rodata+0x18): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:493: libosmocoding.la] Error 1

asdil12 commented on 2020-03-04 09:49 (UTC)

added the patches and fixed some missing deps.

GNUtoo commented on 2020-03-03 19:00 (UTC)

Hi, here are two patches:

From 0e5683310dbaaa148fdc531882b912ca47aaa95b Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Date: Tue, 3 Mar 2020 19:39:28 +0100
Subject: [PATCH 1/2] Update to version 1.3.0

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 133de89..55af319 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Dominik Heidler <dominik@heidler.eu>

 pkgname=libosmocore
-pkgver=1.0.1
+pkgver=1.3.0
 pkgrel=1
 pkgdesc="core libs for osmocom"
 arch=('x86_64' 'i686')
-- 
2.25.1

And:

From 3f886a66a1e1f93e4180cb505ecc7129e7b921dc Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Date: Tue, 3 Mar 2020 19:59:02 +0100
Subject: [PATCH 2/2] Add support for the armv7h architecture

Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org

PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD index 55af319..a8aab5f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libosmocore pkgver=1.3.0 pkgrel=1 pkgdesc="core libs for osmocom" -arch=('x86_64' 'i686') +arch=('armv7h' 'i686' 'x86_64') url="http://bb.osmocom.org/trac/wiki/libosmocore" license=('GPL') groups=() -- 2.25.1