Ticket #93 (closed defect: wontfix)

Opened 1 year ago

Last modified 10 months ago

X_CFLAGS & X_LIBS set incorrectly in src/Makefile

Reported by: santeri Assigned to: lennart
Priority: low Milestone: 0.9.7
Component: build-system Severity: minor
Keywords: Cc: santeri@tadcomab.se

Description

I'm crosscompiling pulseaudio for arm with a ubuntu host with this configure script:

export PKG_CONFIG_PATH=/home/santeri/gumstix/gumstix-1161/build_arm_nofpu/root/lib/pkgconfig 
export CC=arm-linux-gcc 

./configure --target=arm-linux --host=arm-linux --build=i686-linux                     \
--prefix=/home/santeri/gumstix/gumstix-1161/build_arm_nofpu/root                       \
--includedir=/home/santeri/gumstix/gumstix-1161/build_arm_nofpu/staging_dir/include    \
--oldincludedir=/home/santeri/gumstix/gumstix-1161/build_arm_nofpu/staging_dir/include \
--disable-alsa     \
--disable-solaris  \
--disable-glib2    \
--disable-gconf    \
--disable-avahi    \
--disable-jack     \
--disable-asyncns  \
--disable-tcpwrap  \
--disable-lirc     \
--without-x

And I had to remove the

X_CFLAGS = /usr/include  
X_LIBS =  /usr/lib

lines from src/Makefile to make it work. Otherwise it would use the normal system headers in /usr/include.

Change History

10/30/07 15:41:04 changed by lennart

  • status changed from new to closed.
  • resolution set to wontfix.

We use the standard autoconf macros to detect X11. If they don't work for cross-compiling than please report this to autoconf upstream.

10/30/07 15:42:15 changed by lennart

  • milestone set to 0.9.7.