[uClibc-cvs] [buildroot 0000331]: Can't compile ntp

bugs at busybox.net bugs at busybox.net
Sat Jul 9 14:18:15 UTC 2005


A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=331> 
======================================================================
Reported By:                ssaguiar
Assigned To:                uClibc
======================================================================
Project:                    buildroot
Issue ID:                   331
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             07-08-2005 20:19 PDT
Last Modified:              07-09-2005 07:18 PDT
======================================================================
Summary:                    Can't compile ntp
Description: 
When trying to compile ntp in buildroot, after a while, it gives this
error:


/home/ssaguiar/tmp/buildroot/build_i386/staging_dir/bin/i386-linux-uclibc-gcc
 -Os -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Wstrict-prototypes   -o ntpdc-layout  ntpdc-layout.o
./ntpdc-layout > layout.here
/bin/sh: line 1: ./ntpdc-layout: File or directory not found
make[4]: ** [layout.here] Erro 127
make[4]: Leaving directory
`/home/ssaguiar/tmp/buildroot/build_i386/ntp-4.2.0/ntpdc'
make[3]: ** [maybe-layout] Erro 2
make[3]: Leaving directory
`/home/ssaguiar/tmp/buildroot/build_i386/ntp-4.2.0/ntpdc'
make[2]: ** [all-recursive] Erro 1
make[2]: Leaving directory
`/home/ssaguiar/tmp/buildroot/build_i386/ntp-4.2.0'
make[1]: ** [all] Erro 2
make[1]: Leaving directory
`/home/ssaguiar/tmp/buildroot/build_i386/ntp-4.2.0'
make: **
[/home/ssaguiar/tmp/buildroot/build_i386/ntp-4.2.0/ntpdate/ntpdate] Erro
2

======================================================================

----------------------------------------------------------------------
 ssaguiar - 07-09-05 07:18 
----------------------------------------------------------------------
This error happens at the end of the ntpdc Makefile, at :

ntpdc-layout.o: nl.c

layout.here: ntpdc-layout
        ./ntpdc-layout > $@


This is caused by the fact that the Makefile try to execute the
ntpdc-layout in the host system, but, as the ntpdc-layout is compiled with
the uclibc, it gives the error of 'file not found' for the ntpdc-layout
compiled program.

Sergio

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-08-05 20:19 ssaguiar       New Issue                                    
07-09-05 07:18 ssaguiar       Note Added: 0000274                          
======================================================================




More information about the uClibc-cvs mailing list