: alsa-tools 1.0.8 fail to compile on ppc64
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=847>
======================================================================
Reported By: Markus Rothe Assigned To: perex ====================================================================== Project: ALSA - tools Issue ID: 847 Category: ac3dec Reproducibility: always Severity: block Priority: normal Status: resolved Resolution: won't fix Fixed in Version: ====================================================================== Date Submitted: 01-24-2005 21:09 CET Last Modified: 01-25-2005 15:17 CET
======================================================================
Summary: alsa-tools 1.0.8 fail to compile on ppc64
Description:
Hi,
I'm just trying to compile alsa-tools 1.0.8 on my G5, which runs Gentoo Linux.
Here comes the output:
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.0... found. checking for snd_ctl_open in -lasound... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
if powerpc64-unknown-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cspctl\" -DVERSION=\"0.2.0\"
-DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1
-mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -MT cspctl.o -MD -MP -MF ".deps/cspctl.Tpo" \
-c -o cspctl.o test -f 'cspctl.c' || echo './'cspctl.c; \
then mv -f ".deps/cspctl.Tpo" ".deps/cspctl.Po"; \
else rm -f ".deps/cspctl.Tpo"; exit 1; \
fi
powerpc64-unknown-linux-gnu-gcc -mcpu=G5 -O3 -pipe -fsigned-char
-mabi=altivec -L/usr/lib/fltk-1.1 -lasound -lm -ldl -lpthread -o cspctl
cspctl.o -lasound -lm -ldl -lpthreadcspctl.o(.toc+0xe8): undefined reference to `__invalid_size_argument_for_IOC'
collect2: ld returned 1 exit status
make: *** [cspctl] Error 1
======================================================================
----------------------------------------------------------------------
Markus Rothe - 01-24-05 21:11
----------------------------------------------------------------------
sorry, Category is wrong..
----------------------------------------------------------------------
tiwai - 01-25-05 15:17
----------------------------------------------------------------------
This probleam happens because the available ioctl size is only 13bits on PPC64 while it's 14bit on x86.
Don't compile this program for PPC64. It's only for ISA SB16 boards.
Issue History
Date Modified Username Field Change
======================================================================
01-24-05 21:09 Markus Rothe New Issue 01-24-05 21:10 Markus Rothe Issue Monitored: Markus Rothe 01-24-05 21:11 Markus Rothe Note Added: 0003397 01-25-05 15:17 tiwai Status assigned => resolved 01-25-05 15:17 tiwai Resolution open => won't fix 01-25-05 15:17 tiwai Note Added: 0003401
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl