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

Bug#594183: can't build kernel modules



Package: freebsd-buildutils
Version: 8.1-1
Severity: normal

Hi there

I was trying to build cuse4bsd and freebsd-make gives this critical error:

cd: 1: can't cd to /usr/src/sys/x86_64/include

Kernel sources are in /usr/src/sys, but freebsd-make is looking at the wrong directory. the directory for amd64 headers is /usr/src/sys/amd64/include. I had a look at the included makefiles, and it seems the problem originates with ${MACHINE} variable which is x86_64 instead of amd64.

cuse4bsd has other problems, which I'm workng on, but you can reproduce this with attached makefile.

Cheers

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages freebsd-buildutils depends on:
ii  bsdmainutils                8.0.13       collection of more utilities from 
ii  libbsd0                     0.2.0-1      utility functions from BSD systems
ii  libc0.1                     2.11.2-2     Embedded GNU C Library: Shared lib
ii  make                        3.81-8       An utility for Directing compilati
ii  original-awk                2010-05-23-1 The original awk described in "The
ii  patchutils                  0.3.1-2      Utilities to work with patches
ii  unzip                       6.0-4        De-archiver for .zip files

freebsd-buildutils recommends no packages.

freebsd-buildutils suggests no packages.

-- no debconf information
SRCS=test.c
..include <bsd.kmod.mk>

Reply to: