Package Details: libcello 2.1.0-2

Git Clone URL: https://aur.archlinux.org/libcello.git (read-only, click to copy)
Package Base: libcello
Description: Higher level programming library in C
Upstream URL: https://github.com/orangeduck/cello
Keywords: c library programming
Licenses: BSD
Provides: libCello.so
Submitter: jetm
Maintainer: None
Last Packager: lmartinez-mirror
Votes: 6
Popularity: 0.000000
First Submitted: 2015-11-16 17:07 (UTC)
Last Updated: 2022-03-30 21:59 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

bunder commented on 2023-02-22 08:54 (UTC) (edited on 2023-02-22 08:55 (UTC) by bunder)

Package doesn't build with following error:

cc obj/Alloc.o obj/Array.o obj/Assign.o obj/Cmp.o obj/Concat.o obj/Doc.o obj/Exception.o obj/File.o obj/Function.o obj/GC.o obj/Get.o obj/Hash.o obj/Iter.o obj/Len.o obj/List.o obj/Num.o obj/Pointer.o obj/Push.o obj/Resize.o obj/Show.o obj/Start.o obj/String.o obj/Table.o obj/Thread.o obj/Tree.o obj/Tuple.o obj/Type.o -shared  -lpthread -lm -o libCello.so
/usr/bin/ld: obj/Type.o: warning: relocation against `Iter' in read-only section `.text'
/usr/bin/ld: obj/Alloc.o: relocation R_X86_64_PC32 against symbol `Alloc' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:117: libCello.so] Error 1

Problem is that make command in build() overrides CFLAGS and Makefile can't add necessary flags to it. Just remove CFLAGS+=-I./include and all works fine.