Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error emerging (upgrade) ntp 4.1.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Sun Feb 22, 2004 12:13 pm    Post subject: Error emerging (upgrade) ntp 4.1.2 Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Feb 22, 2004 3:25 pm    Post subject: Reply with quote

Make sure you have installed sys-kernel/linux-headers-2.4.21-r1 installed first. Then your problem should go away.
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Sun Feb 22, 2004 11:07 pm    Post subject: Thanks for that tip Reply with quote

Emerging linux-headers did resolve the problem with building ntp..

Thanks...
Back to top
View user's profile Send private message
zie
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 126

PostPosted: Sat Apr 24, 2004 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Apr 25, 2004 12:05 am    Post subject: Reply with quote

Can you provide us with some details?
Back to top
View user's profile Send private message
zie
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 126

PostPosted: Mon Apr 26, 2004 2:53 am    Post subject: Reply with quote

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

:?: :?: :?: :?: 8O
_________________
/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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum