Package: src: pcal
Version: 0.4.3-8.1
Severity: normal
Tags: patch

Hi,
I attempted to cross-build pcal , and it failed with dpkg-buildpackage as
follows:
CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf DEB_BUILD_OPTIONS=nocheck
dpkg-buildpackage -aarmhf
[...]
/usr/bin/gcc -O2 -Wall -DEPS         -DEPS_DSC '-DSEARCH_PCAL_DIR=0'
-DBUILD_ENV_UNIX -o obj/readfile.o -c src/readfile.c
/usr/bin/gcc -O2 -Wall -DEPS         -DEPS_DSC '-DSEARCH_PCAL_DIR=0'
-DBUILD_ENV_UNIX -o obj/writefil.o -c src/writefil.c
/usr/bin/gcc  -o exec/pcal obj/pcal.o obj/encvec.o obj/exprpars.o
obj/moonphas.o obj/pcalutil.o obj/pcallang.o obj/readfile.o obj/writefil.o
-lm -lpaper
/usr/bin/ld: cannot find -lpaper
collect2: error: ld returned 1 exit status
[...]

By default, "CC" is "gcc". It would be good if it uses right "CC" variable.
Attached file is the patch for this.

Thanks,
Vinh.

-- System Information:
Architecture: amd64
 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Shell: /bin/sh linked to /bin/bash

Attachment: pcal_crossbuild.diff
Description: Binary data

-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com

Reply via email to