Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2005 14:30:29 GMT
From:      Sam Lawrance <boris@brooknet.com.au>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/79354: domc-0.8.0 fails to build on FreeBSD-4.11
Message-ID:  <200504091430.j39EUTS7058031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/79354; it has been noted by GNATS.

From: Sam Lawrance <boris@brooknet.com.au>
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
 
 
 
 
 
 



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