[LinuxPPS] Error Building tools

Thiago Tiedtke tiedtke at gmail.com
Sun Feb 8 21:24:03 CET 2009


Hi,

Today i get the git repository like say in linuxpps home page:

http://wiki.enneenne.com/index.php/LinuxPPS_installation#Cloning_my_repository

Them, resolve some dependecies:

aptitude update && aptitude safe-upgrade
aptitude install \
         kernel-package \
         build-essential \
         dh-make \
         module-assistant \
         libncurses5-dev \
 	 intltool-debian \
	 debhelper \
	 po-debconf \
	 sharutils \
	 gettext \
	 html2text \
	 wget \
         zlib1g-dev


Them, i configure and compile the src in my debian (4.0 r6 lenny, gcc
version 4.3.2 (Debian 4.3.2-1.1)  )  distro...

Ok, the .deb is generated, and installed, ok....reboot. The machine start
without problems...

When i try compile the userland tools, the messages appear:

timesync2:/usr/src/linuxpps-5.3.4/Documentation/pps# make
cc -Wall -O2 -D_GNU_SOURCE -I . -ggdb -D__N_PPS=18 -M ppstest.c ppsldisc.c >
.depend
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ./timepps.h:24,
                 from ppstest.c:8:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: Arquivo ou diretório
não encontrado
In file included from /usr/include/sys/ioctl.h:27,
                 from ./timepps.h:26,
                 from ppstest.c:8:
/usr/include/bits/ioctls.h:24:24: error: asm/ioctls.h: Arquivo ou diretório
não encontrado
In file included from /usr/include/linux/posix_types.h:47,
                 from /usr/include/linux/types.h:11,
                 from ./timepps.h:27,
                 from ppstest.c:8:
/usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/asm/posix_types.h:14:35:
error: asm/posix_types.h: Arquivo ou diretório não encontrado
In file included from ./timepps.h:27,
                 from ppstest.c:8:
/usr/include/linux/types.h:12:23: error: asm/types.h: Arquivo ou diretório
não encontrado
In file included from /usr/include/linux/pps.h:116,
                 from ./timepps.h:28,
                 from ppstest.c:8:
/usr/include/linux/ioctl.h:4:23: error: asm/ioctl.h: Arquivo ou diretório
não encontrado
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ppsldisc.c:4:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: Arquivo ou diretório
não encontrado
In file included from /usr/include/sys/ioctl.h:27,
                 from ppsldisc.c:5:
/usr/include/bits/ioctls.h:24:24: error: asm/ioctls.h: Arquivo ou diretório
não encontrado
make: ** [.depend] Erro 1

These files do not exists in /usr/include/asm, only one:

asm-offsets.h

How proceed from here? i need to install more package??

Thanks for advance,

Thiago Tiedtke dos Reis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20090208/926b1310/attachment.htm 


More information about the LinuxPPS mailing list