Ticket #93 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

X_CFLAGS & X_LIBS set incorrectly in src/Makefile

Reported by: santeri Owned by: lennart
Milestone: 0.9.7 Component: build-system
Keywords: Cc: santeri@…

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

Changed 4 years ago 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.

Changed 4 years ago by lennart

  • milestone set to 0.9.7
Note: See TracTickets for help on using tickets.