Issue 32 in vtuner: cannot compile vtuner.apps on ARM

37 views
Skip to first unread message

vtu...@googlecode.com

unread,
Jun 29, 2013, 2:28:19 PM6/29/13
to vtuner-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 32 by d_sping...@gmx.de: cannot compile vtuner.apps on ARM
http://code.google.com/p/vtuner/issues/detail?id=32

Hi,

I've installed a gentoo on a Raspbryy Pi.

When i want to compile to vtuner.apps, ggc freze at this Point:

raspberry_pi vtuner.apps # make -C build/arm
make: Entering directory `/usr/local/src/vtuner.apps/build/arm'
../../dist/arm/vtunerd.arm
vtunerd: vtuner server (vtunerd), part of vtuner project
Visit http://code.google.com/p/vtuner/ for more information
Copyright (C) 2009-11 Roland Mieslinger
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
vtunerd: Revision:b6fa0d2b133b/tip DVB:5.9 allow:5.x NetProto:2 MsgSize:96,
Debug:0x3
vtunerd: [5362 ../../vtunerd.c:146] info: S2API tuning support.
vtunerd: [5362 ../../vtuner-dvb-3.c:57] info: FE_GET_INFO dvb-type:0
vtuner-type:8
vtunerd: [5362 ../../vtunerd.c:158] info: adapter:0, frontend:0, demux,0,
dvr:0 is type:8
vtunerd: [5362 ../../vtunerd-service.c:276] info: waiting for autodiscover
packet (groups 0xFFFF) ...


System is:

raspberry_pi vtuner.apps # uname -a
Linux raspberry_pi 3.9.7-cutdown+ #7 PREEMPT Sat Jun 29 18:50:12 CEST 2013
armv6l BCM2708 GNU/Linux


This is my Make.config:

# define the CC for target arm
CC-arm=gcc -fpic
INCLUDE-arm=



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

vtu...@googlecode.com

unread,
Jul 2, 2013, 8:40:05 AM7/2/13
to vtuner-...@googlegroups.com

Comment #1 on issue 32 by jpetrous: cannot compile vtuner.apps on ARM
http://code.google.com/p/vtuner/issues/detail?id=32

Strange, it looks like your make simply invoke vtunerd.arm what is not what
we want.

Can you show me all steps how do you start your compilation? And please
check that you rename Make.config.sample to the Make.config as is needed
(as described in BUILD.txt)

vtu...@googlecode.com

unread,
Jul 2, 2013, 12:39:00 PM7/2/13
to vtuner-...@googlegroups.com

Comment #2 on issue 32 by d_sping...@gmx.de: cannot compile vtuner.apps on
ARM
http://code.google.com/p/vtuner/issues/detail?id=32

> Strange, it looks like your make simply invoke vtunerd.arm what is not
> what we want.
Why not?? The Raspberry Pi is a ARM CPU -->
http://en.wikipedia.org/wiki/Raspberry_Pi

> Can you show me all steps how do you start your compilation?

1. i checked out the git
2. i created a Makefile.config as follow:

# define the CC for target arm
CC-arm=gcc -fpic
INCLUDE-arm=

3. i started gcc: make -C build/arm

vtu...@googlecode.com

unread,
Jul 3, 2013, 8:40:26 AM7/3/13
to vtuner-...@googlegroups.com
Updates:
Status: Accepted

Comment #3 on issue 32 by jpetrous: cannot compile vtuner.apps on ARM
http://code.google.com/p/vtuner/issues/detail?id=32

>> Strange, it looks like your make simply invoke vtunerd.arm what is not
>> what we want.
> Why not?? The Raspberry Pi is a ARM CPU -->
> http://en.wikipedia.org/wiki/Raspberry_Pi
Well, I perfectly know that RPi is ARM based.

But now I see the reason - you don't have defined variable STRIP.
Please see in last part of Make.config.sample which variables
should be defined.

Or simply do the way we recommend: rename Make.config.sample
to the Make.config and only change the particular part of file.

/Honza

vtu...@googlecode.com

unread,
Jul 3, 2013, 1:41:59 PM7/3/13
to vtuner-...@googlegroups.com

Comment #4 on issue 32 by d_sping...@gmx.de: cannot compile vtuner.apps on
ARM
http://code.google.com/p/vtuner/issues/detail?id=32

1000 THX @ Honza,

with this Make.config,

raspberry vtuner.apps # cat Make.config
# define the CC for target arm
CC-arm=gcc -fpic
STRIP-arm=armv6j-hardfloat-linux-gnueabi-strip
INCLUDE-arm=
raspberry vtuner.apps #

it Woks now. :)

raspberry vtuner.apps # make -C build/arm
make: Entering directory `/usr/local/src/vtuner.apps/build/arm'
gcc -fpic -fpic -DHAVE_DVB_API_VERSION=5 -c -o
vtunerd-service.o ../../vtunerd-service.c
gcc -fpic -fpic -DHAVE_DVB_API_VERSION=5 -c -o
vtuner-network.o ../../vtuner-network.c
gcc -fpic -fpic -DHAVE_DVB_API_VERSION=5 -c -o
vtuner-utils.o ../../vtuner-utils.c
gcc -fpic -fpic -DHAVE_DVB_API_VERSION=5 -c -o
vtuner-dvb-3.o ../../vtuner-dvb-3.c
gcc -fpic -fpic -DHAVE_DVB_API_VERSION=5 -DBUILDVER="\"b6fa0d2b133b/tip\""
-DMODFLAG=\"\" -o ../../dist/arm/vtunerd.arm vtuner-network.o
vtunerd-service.o vtuner-dvb-3.o vtuner-utils.o ../../vtunerd.c -lpthread
-lrt
armv6j-hardfloat-linux-gnueabi-strip ../../dist/arm/vtunerd.arm
make: Leaving directory `/usr/local/src/vtuner.apps/build/arm'
raspberry vtuner.apps #

vtu...@googlecode.com

unread,
Jul 9, 2013, 3:31:23 AM7/9/13
to vtuner-...@googlegroups.com
Updates:
Status: WontFix

Comment #5 on issue 32 by jpetrous: cannot compile vtuner.apps on ARM
http://code.google.com/p/vtuner/issues/detail?id=32

Good. So I'm closing the bug report :)

/Honza
Reply all
Reply to author
Forward
0 new messages