ports/79354: domc-0.8.0 fails to build on FreeBSD-4.11

Sam Lawrance boris at brooknet.com.au
Sat Apr 9 14:30:29 UTC 2005


The following reply was made to PR ports/79354; it has been noted by GNATS.

From: Sam Lawrance <boris at brooknet.com.au>
To: freebsd-gnats-submit at FreeBSD.org, jau at iki.fi
Cc: vs at 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
 
 
 
 
 
 



More information about the freebsd-ports-bugs mailing list