Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 23:59:30 -0600
From:      Eric De la Cruz Lugo <eric@iteso.mx>
To:        freebsd-questions@freebsd.org
Subject:   Problem compiling code in freeBSD 4,9 strtof related.
Message-ID:  <1080367170.4065184245b82@iteso.mx>

next in thread | raw e-mail | index | archive | help
Hi, I am trying to compile the BhPos software (Point of Sale for Linux. 
 
But I need the strtof function , but FreeBSD 4,9 does not have this function, 
it is possible to install it taking the source code from the 5.X FreeBSD 
branch? 
 
here is my cc output: 
 
 
cc -O -pipe  -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP  -c 
/usr/src/lib/libc/../libc/stdlib/strtof.c -o strtof.o 
In file included from /usr/include/gdtoaimp.h:180, 
                 from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoa.h:41: arith.h: No such file or directory 
In file included from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoaimp.h:194: un-namespace.h: No such file or directory 
In file included from /usr/src/lib/libc/../libc/stdlib/strtof.c:38: 
/usr/include/gdtoaimp.h:278: syntax error before `one' 
/usr/include/gdtoaimp.h:278: syntax error before `IBM' 
/usr/include/gdtoaimp.h:281: syntax error before `}' 
*** Error code 1 
 
hope some one has a clue about how to solve this with out installing FreeBSD 
5.x 
 
thanks in advance. 
 
Eric De La Cruz Lugo 
Merida, Yucatan, Mexico. 
 

---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080367170.4065184245b82>