FreeBSD compilation
FreeBSD compilation
Hi all! Please tell me why the graphics are lost when compiling in FreeBSD?
Re: FreeBSD compilation
Trying to compile the file http://truechess.org/chess.bas
And get an error:
Version of FreeBasic: 1.09.0.
Operating system: FreeBSD (GhostBSD).
And get an error:
At the same time, under DOS and Windows, it is compiled without problems. Please suggest what could be the reason?$ fbc -lang qb -gen gcc -O 2 chess.bas
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_Wait’:
hook_ports.c:(.text+0xbf): undefined reference to ‛fb_hIn’
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_In’:
hook_ports.c:(.text+0x39): undefined reference to ‛fb_hIn’
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_Out’:
hook_ports.c:(.text+0x7c): undefined reference to ‛fb_hOut’
Version of FreeBasic: 1.09.0.
Operating system: FreeBSD (GhostBSD).
Re: FreeBSD compilation
Thanks a lot! Help on the topic — viewtopic.php?p=296169#p296169