tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libpciaccess and MACHINE_GNU_PLATFORM

Trying to build sysutils/libpciaccess on 6.1_STABLE/i386 currently fails 
for me with:

  CCLD     scanpci
../src/.libs/ undefined reference to `i386_set_mtrr'
../src/.libs/ undefined reference to `pcibus_conf_read'
../src/.libs/ undefined reference to `pcibus_conf_write'
*** [scanpci] Error code 1

because this bit of configure doesn't happen:

                case $host in
                        PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci"

because $host is 'i486--netbsdelf'

because configure is invoked as

   ... /bin/sh './configure' --with-zlib --prefix=/usr/pkg --build=i486--
netbsdelf --host=i486--netbsdelf --mandir=/usr/pkg/man

which suggests MACHINE_GNU_PLATFORM is i486--netbsdelf

my question is why?  I thought the stuff in mk/ was supposed 
to turn it into i386-unknown-netbsdelf6.1 like mk/gnu-config/config.guess 


Home | Main Index | Thread Index | Old Index