Hello Michael,

Here is the trace of the configure of xf86-video-savage-2.3.2
Thank you for your help.

----------------------------------------
target: xorg-driver-video-savage.prepare
----------------------------------------

pkg_deprecated_env="AR=i586-unknown-linux-gnu-ar
AS=i586-unknown-linux-gnu-as LD=i586-unknown-linux-gnu-ld
NM=i586-unknown-linux-gnu-nm CC=i586-unknown-linux-gnu-gcc
CXX=i586-unknown-linux-gnu-g++ CPP=i586-unknown-linux-gnu-cpp
RANLIB=i586-unknown-linux-gnu-ranlib READELF=i586-unknown-linux-gnu-readelf
OBJCOPY=i586-unknown-linux-gnu-objcopy
OBJDUMP=i586-unknown-linux-gnu-objdump STRIP=i586-unknown-linux-gnu-strip
DLLTOOL=i586-unknown-linux-gnu-dlltool GNAT=i586-unknown-linux-gnu-gnat
GNATBIND=i586-unknown-linux-gnu-gnatbind
GNATCHOP=i586-unknown-linux-gnu-gnatchop
GNATCLEAN=i586-unknown-linux-gnu-gnatclean
GNATFIND=i586-unknown-linux-gnu-gnatfind
GNATKR=i586-unknown-linux-gnu-gnatkr
GNATLINK=i586-unknown-linux-gnu-gnatlink
GNATLS=i586-unknown-linux-gnu-gnatls
GNATMAKE=i586-unknown-linux-gnu-gnatmake
GNATNAME=i586-unknown-linux-gnu-gnatname
GNATPREP=i586-unknown-linux-gnu-gnatprep
GNATXREF=i586-unknown-linux-gnu-gnatxref CC_FOR_BUILD=gcc CPP_FOR_BUILD=gcc
LINK_FOR_BUILD=gcc CPPFLAGS="-isystem
/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/include
-isystem
/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/include"
LDFLAGS="-L/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/lib
-L/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/lib
-Wl,-rpath-link
-Wl,/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/lib
-Wl,-rpath-link
-Wl,/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/lib"
SYSROOT="/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target"
PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/lib/pkgconfig:/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/lib/pkgconfig:/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/share/pkgconfig:/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/share/pkgconfig'
PKG_CONFIG="/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-cross/bin/i586-unknown-linux-gnu-pkg-config"
enable_option_checking=fatal ac_cv_file__dev_random=yes
ac_cv_file__proc_self_exe=yes ac_cv_file__proc_self_fd=yes
ac_cv_file__proc_self_maps=yes ac_cv_func_dcgettext=yes
ac_cv_func_getpgrp_void=yes ac_cv_func_getrlimit=yes
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes ac_cv_func_nonposix_getgrgid_r=no
ac_cv_func_nonposix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwnam_r=yes ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_printf_unix98=yes ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setgrent_void=yes ac_cv_func_setpgrp_void=yes
ac_cv_func_setvbuf_reversed=no ac_cv_func_strstr=yes ac_cv_func_strtod=yes
ac_cv_func_strtoul=yes ac_cv_func_vsnprintf_c99=yes
ac_cv_func_wait3_rusage=yes ac_cv_have_abstract_sockets=yes
ac_cv_lib_c_inet_aton=yes ac_cv_sizeof_long_double="12"
ac_cv_sizeof_long_long=8 ac_cv_sysv_ipc=yes ac_cv_type_uintptr_t=yes
bash_cv_func_ctype_nonascii=yes bash_cv_func_sigsetjmp=present
bash_cv_func_strcoll_broken=no bash_cv_must_reinstall_sighandlers=no
glib_cv_long_long_format="ll" gt_cv_func_gettext_libintl=yes
ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_iconv_open=yes"

pkg_deprecated_autoconf="--prefix=/usr --sysconfdir=/etc
--localstatedir=/var --host=i586-unknown-linux-gnu
--build=i686-host-linux-gnu"

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-unknown-linux-gnu-strip... i586-unknown-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i586-unknown-linux-gnu-gcc... i586-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-unknown-linux-gnu-gcc accepts -g... yes
checking for i586-unknown-linux-gnu-gcc option to accept ISO C89... none
needed
checking dependency style of i586-unknown-linux-gnu-gcc... gcc3
checking for i586-unknown-linux-gnu-gcc option to accept ISO C99...
-std=gnu99
checking how to run the C preprocessor... i586-unknown-linux-gnu-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pkg-config is at least version 0.9.0... yes
checking build system type... i686-host-linux-gnu
checking host system type... i586-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i586-unknown-linux-gnu-gcc -std=gnu99...
i586-unknown-linux-gnu-ld
checking if the linker (i586-unknown-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
i586-unknown-linux-gnu-nm
checking the name lister (i586-unknown-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for i586-unknown-linux-gnu-ld option to reload object files... -r
checking for i586-unknown-linux-gnu-objdump...
i586-unknown-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i586-unknown-linux-gnu-ar... i586-unknown-linux-gnu-ar
checking for i586-unknown-linux-gnu-strip... (cached)
i586-unknown-linux-gnu-strip
checking for i586-unknown-linux-gnu-ranlib... i586-unknown-linux-gnu-ranlib
checking command to parse i586-unknown-linux-gnu-nm output from
i586-unknown-linux-gnu-gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i586-unknown-linux-gnu-gcc -std=gnu99 supports -fno-rtti
-fno-exceptions... no
checking for i586-unknown-linux-gnu-gcc -std=gnu99 option to produce PIC...
-fPIC -DPIC
checking if i586-unknown-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC
works... yes
checking if i586-unknown-linux-gnu-gcc -std=gnu99 static flag -static
works... yes
checking if i586-unknown-linux-gnu-gcc -std=gnu99 supports -c -o file.o...
yes
checking if i586-unknown-linux-gnu-gcc -std=gnu99 supports -c -o file.o...
(cached) yes
checking whether the i586-unknown-linux-gnu-gcc -std=gnu99 linker
(i586-unknown-linux-gnu-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... no
checking for XORG... yes
checking for XEXT... yes
checking for
/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/sysroot-target/usr/include/xorg/dri.h...
configure: error: cannot check for file existence when cross compiling
make: ***
[/home/philippe/OSELAS.BSP-Pengutronix-i586-generic-2011.08.0/platform-i586/state/xorg-driver-video-savage.prepare]
Error 1
p

2011/9/7 Michael Olbrich <[email protected]>

> On Sat, Sep 03, 2011 at 01:18:20AM +0200, Philippe Corbes wrote:
> > This question is for a guru of ptxdist.
> >
> > I use ptxdist to build a linux for a tiny x86.
> > I try to compile the /usr/lib/xorg/modules/drivers/savage_drv.so
> > I wrote  xorg-driver-video-savage.in and a xorg-driver-video-savage.make
> > files.
> >
> > I dont find the "xorg-macros.pc" at the prepare phase.
> > Does anybody know why?
> >
> > Here is my dump. (I think I'm not the first to get this error)
> >
> > started : xorg-driver-video-savage.prepare
> > Package xorg-macros was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `xorg-macros.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'xorg-macros' found
> > configure: error: cannot check for file existence when cross compiling
>
>
> Hmmm, this is strange xorg-macros should not be needed during configure.
> Can you post your xorg-driver-video-savage.make?
>
> Michael
>
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> [email protected]
>
-- 
ptxdist mailing list
[email protected]

Reply via email to