| View previous topic :: View next topic |
| Author |
Message |
labrador Guru


Joined: 04 Oct 2003 Posts: 316
|
Posted: Sun Feb 22, 2004 12:13 pm Post subject: Error emerging (upgrade) ntp 4.1.2 |
|
|
I've been failing to complete my emerge -Up world lately due to
a failure to compile ntp 4.1.2 update. I currently have
4.1.1b-r6 working on the system.
Here is the tail of the compile attempt:
| Code: | if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -mcpu=ultrasparc -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -MT refclock_acts.o -MD -MP -MF ".deps/refclock_acts.Tpo" \
-c -o refclock_acts.o `test -f 'refclock_acts.c' || echo './'`refclock_acts.c; \
then mv -f ".deps/refclock_acts.Tpo" ".deps/refclock_acts.Po"; \
else rm -f ".deps/refclock_acts.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -mcpu=ultrasparc -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -MT refclock_arbiter.o -MD -MP -MF ".deps/refclock_arbiter.Tpo" \
-c -o refclock_arbiter.o `test -f 'refclock_arbiter.c' || echo './'`refclock_arbiter.c; \
then mv -f ".deps/refclock_arbiter.Tpo" ".deps/refclock_arbiter.Po"; \
else rm -f ".deps/refclock_arbiter.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -mcpu=ultrasparc -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -MT refclock_arc.o -MD -MP -MF ".deps/refclock_arc.Tpo" \
-c -o refclock_arc.o `test -f 'refclock_arc.c' || echo './'`refclock_arc.c; \
then mv -f ".deps/refclock_arc.Tpo" ".deps/refclock_arc.Po"; \
else rm -f ".deps/refclock_arc.Tpo"; exit 1; \
fi
In file included from ../include/ntp_fp.h:10,
from ../include/ntpd.h:6,
from ntpd.c:15:
/usr/include/netinet/in.h:259: `__u32' redeclared as different kind of symbol
/usr/include/asm-sparc/types.h:27: previous declaration of `__u32'
/usr/include/netinet/in.h:261: `__u16' redeclared as different kind of symbol
/usr/include/asm-sparc/types.h:24: previous declaration of `__u16'
ntpd.c:218: warning: no previous prototype for `drop_root'
make[2]: *** [ntpd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ntp-4.1.2/work/ntp-4.1.2/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntp-4.1.2/work/ntp-4.1.2'
make: *** [all] Error 2
!!! ERROR: net-misc/ntp-4.1.2 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! (no error message)
|
I've searched in the forum and not found anything like this
(searching on the specific version).
I'm running an Ultra 1. |
|
| Back to top |
|
 |
Weeve Retired Dev

Joined: 30 Oct 2002 Posts: 641
|
Posted: Sun Feb 22, 2004 3:25 pm Post subject: |
|
|
| Make sure you have installed sys-kernel/linux-headers-2.4.21-r1 installed first. Then your problem should go away. |
|
| Back to top |
|
 |
labrador Guru


Joined: 04 Oct 2003 Posts: 316
|
Posted: Sun Feb 22, 2004 11:07 pm Post subject: Thanks for that tip |
|
|
Emerging linux-headers did resolve the problem with building ntp..
Thanks... |
|
| Back to top |
|
 |
zie Tux's lil' helper

Joined: 26 Sep 2003 Posts: 126
|
Posted: Sat Apr 24, 2004 9:44 pm Post subject: |
|
|
OK.. now emerging ntp-4.2 failed... _________________ /etc/init.d/alsasound start
* ALSA driver is already running.
/etc/init.d/alsasound stop
* ERROR: "alsasound" has not yet been started. |
|
| Back to top |
|
 |
Weeve Retired Dev

Joined: 30 Oct 2002 Posts: 641
|
Posted: Sun Apr 25, 2004 12:05 am Post subject: |
|
|
| Can you provide us with some details? |
|
| Back to top |
|
 |
zie Tux's lil' helper

Joined: 26 Sep 2003 Posts: 126
|
Posted: Mon Apr 26, 2004 2:53 am Post subject: |
|
|
During configure ...
checking for signed char... yes
checking size of signed char... configure: error: cannot compute sizeof (signed char), 77
See `config.log' for more details.
!!! ERROR: net-misc/ntp-4.2.0-r2 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
 _________________ /etc/init.d/alsasound start
* ALSA driver is already running.
/etc/init.d/alsasound stop
* ERROR: "alsasound" has not yet been started. |
|
| Back to top |
|
 |
|