Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8807 - emerge ntp fails (on some of my computers)
Summary: emerge ntp fails (on some of my computers)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-06 09:04 UTC by Michal Maruska
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Maruska 2002-10-06 09:04:32 UTC
the build (compile) process fails due to:

ntp_config.c:1619: `CONFIG_PHONE' undeclared (first use in this function)

i came to the conclusion, that this error is due to a line in
/usr/src/linux/include/asm/param.h:
#include <linux/autoconf.h>     (which undefines that macro, if the kernel
is conf. w/o  telephony services.)  ... a nice clash of C macros (once used internally by ntp, once undefined by a configuration of the kernel).

But the strange thing is, that the  #include  line in  param.h is only for 
certain kernel configuration. I don't know why.
Comment 1 Michal Maruska 2002-10-06 09:31:13 UTC
it was my fault.  I symlinked   /usr/include/linux -> /usr/src/linux/include/linux   and    asm -> asm.  I don't know why in Gentoo it  is not the right thing to do. (i was used to do it for years).