From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 9 14:30:29 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6838A16A4CE for ; Sat, 9 Apr 2005 14:30:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44FBF43D1D for ; Sat, 9 Apr 2005 14:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j39EUTYk058032 for ; Sat, 9 Apr 2005 14:30:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j39EUTS7058031; Sat, 9 Apr 2005 14:30:29 GMT (envelope-from gnats) Date: Sat, 9 Apr 2005 14:30:29 GMT Message-Id: <200504091430.j39EUTS7058031@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Sam Lawrance Subject: Re: ports/79354: domc-0.8.0 fails to build on FreeBSD-4.11 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sam Lawrance List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 14:30:29 -0000 The following reply was made to PR ports/79354; it has been noted by GNATS. From: Sam Lawrance To: freebsd-gnats-submit@FreeBSD.org, jau@iki.fi Cc: vs@FreeBSD.org Subject: Re: ports/79354: domc-0.8.0 fails to build on FreeBSD-4.11 Date: Sun, 10 Apr 2005 00:26:29 +1000 Okay, it seems that your patches do get libmba and domc to compile, but there are still no wide character functions available and so they won't link. When compiling, you'll see warnings like this: gcc34 -Wall -W -ansi -DMSGNO -D__BSD_VISIBLE -Isrc -I/usr/local/include -L/usr/local/lib -O -pipe -I/usr/local/include -c src/csv.c -o src/csv.o src/csv.c: In function `csv_parse_wcs': src/csv.c:218: warning: implicit declaration of function `iswspace' ar rv libmba.a src/csv.o These are non-fatal because the compiler just assumes the implicit function returns an int. The library will build, install and package OK. But when it comes to actually linking and running a program, it won't work because those wide char functions aren't available: bash-2.05b# make #gcc -g -Wall -W -DPROFILE -DMSGNO -I/usr/local/include -L/usr/local/lib -ldomc -lmba -lencdec -lmba -lexpat -ldomc -o dump.o dump.c gcc -g -Wall -W -DPROFILE -DMSGNO -I/usr/local/include -L/usr/local/lib -ldomc -lmba -o dump.o dump.c /usr/local/lib/libdomc.so: undefined reference to `mbrtowc' /usr/local/lib/libmba.so: undefined reference to `iswspace' /usr/local/lib/libmba.so: undefined reference to `towupper' *** Error code 1