This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem longlong.h in glibc-2.0.96


>>>>> Kaoru Fukui writes:

 > Hi!
 > I had a error like that when compling a debug library  using CFLAG="-O2 -g".
 > Glibc is recently glibc-2.0.96.
 > Please fix longlong.h.

 > Mklinx DR3
 > egcs-1.1-0a.ppc.rpm

 > Kaoru Fukui

 > gcc strtof.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g      
 > -I../include -I. -I/wk-glibc-2.1/rebuild/stdlib -I.. -I../libio  -I/wk-glibc
 > -2.1/rebuild -I../sysdeps/powerpc/elf -I../crypt/sysdeps/unix -I../linuxthreads
 > /sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads
 > /sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/
 > powerpc -I../linuxthreads/sysdeps/pthread/cmpxchg -I../sysdeps/unix/sysv/linux
 > /powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common 
 > -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps
 > /unix -I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32 -I../
 > sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps
 > /generic   -D_LIBC_REENTRANT -include ../include/libc-symbols.h     -o /wk-glibc
 > -2.1/rebuild/stdlib/strtof.o
 > In file included from strtod.c:69,
 >                  from strtof.c:22:
 > longlong.h:1256: unbalanced `#endif'
 > make[2]: *** [/wk-glibc-2.1/rebuild/stdlib/strtof.o] Error 1
 > make[2]: Leaving directory `/wk-glibc-2.1/libc/stdlib'
 > make[1]: *** [stdlib/subdir_lib] Error 2
 > make[1]: Leaving directory `/wk-glibc-2.1/libc'
 > make: *** [all] Error 2

Does the appended patch fix your problem?

Andreas

1998-09-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* stdlib/longlong.h: Remove extraneous #endif (fix last patch).
	Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.

--- stdlib/longlong.h.~1~	Sat Sep 26 07:41:08 1998
+++ stdlib/longlong.h	Sun Sep 27 15:27:17 1998
@@ -1170,7 +1170,6 @@
 #define UDIV_TIME (3+7*32)	/* 7 instructions/iteration. 32 iterations. */
 extern USItype __udiv_qrnnd __P ((USItype *, USItype, USItype, USItype));
 #define UDIV_TIME 140
-#endif /* LONGLONG_STANDALONE */
 #endif /* udiv_qrnnd */
 #endif /* __sparc__ */
 
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]