From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 21:59:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EACFC16A4CE for ; Fri, 26 Mar 2004 21:59:31 -0800 (PST) Received: from iteso.mx (iteso.mx [148.201.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9259E43D45 for ; Fri, 26 Mar 2004 21:59:31 -0800 (PST) (envelope-from eric@iteso.mx) Received: from iteso.mx (localhost [127.0.0.1]) by iteso.mx (8.12.3/8.12.3/Debian-6.6) with ESMTP id i2R5xULj011910 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 26 Mar 2004 23:59:30 -0600 Received: (from www-data@localhost) by iteso.mx (8.12.3/8.12.3/Debian-6.6) id i2R5xURs011909 for freebsd-questions@freebsd.org; Fri, 26 Mar 2004 23:59:30 -0600 From: Eric De la Cruz Lugo X-Authentication-Warning: iteso.mx: www-data set sender to eric@iteso.mx using -f Received: from dup-148-233-218-248.prodigy.net.mx (dup-148-233-218-248.prodigy.net.mx [148.233.218.248]) by iteso.mx (IMP) with HTTP for ; Fri, 26 Mar 2004 23:59:30 -0600 Message-ID: <1080367170.4065184245b82@iteso.mx> Date: Fri, 26 Mar 2004 23:59:30 -0600 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 148.233.218.248 X-Virus-Scanned: clamd / ClamAV version 0.67+CVS20040305, clamav-milter version 0.67j Subject: Problem compiling code in freeBSD 4,9 strtof related. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 05:59:32 -0000 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. ---