head/graphics/svgalib does not build in poudriere

Dimitry Andric dim at FreeBSD.org
Sun Jan 25 15:44:35 UTC 2015


On 25 Jan 2015, at 11:11, Matthias Apitz <guru at unixarea.de> wrote:
> 
> El día Sunday, January 25, 2015 a las 08:51:22AM +0100, Matthias Apitz escribió:
...
>> This is in head r276659, ports r377801 and with poudriere 3.1.1 on
>> amd64; the port graphics/svgalib fails to build (only) in poudriere with:
>> 
>> ...
>> clang -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fPIC
>> -I/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/include -I.
>> -fstack-protector -fno-strict-aliasing  -I../include -L../sharedlib -o
>> restorefont restorefont.o -lvga -lm
>> ../sharedlib/libvga.so: undefined reference to `_outb'
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
...
>> the offending code is in src/paradise.c:
>> 
>> ...
>> void inline _outb(unsigned port,unsigned value)
>> {
>> #ifdef DEBUG
>> printf ("0x%x, 0x%x\n",port,value);
>> #endif
>> outb(port,value);
>> }

Try compiling the port with USE_CSTD=gnu89, or change the function
signature to:

  static inline void _outb(unsigned port,unsigned value)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150125/e15cf33c/attachment.sig>


More information about the freebsd-ports mailing list