FreeBSD compilation

Linux specific questions.
Post Reply
yevrowl
Posts: 6
Joined: Aug 12, 2022 21:37
Location: Kiev
Contact:

FreeBSD compilation

Post by yevrowl »

Hi all! Please tell me why the graphics are lost when compiling in FreeBSD?
yevrowl
Posts: 6
Joined: Aug 12, 2022 21:37
Location: Kiev
Contact:

Re: FreeBSD compilation

Post by yevrowl »

Trying to compile the file http://truechess.org/chess.bas

And get an error:
$ 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’
At the same time, under DOS and Windows, it is compiled without problems. Please suggest what could be the reason?

Version of FreeBasic: 1.09.0.
Operating system: FreeBSD (GhostBSD).
yevrowl
Posts: 6
Joined: Aug 12, 2022 21:37
Location: Kiev
Contact:

Re: FreeBSD compilation

Post by yevrowl »

Thanks a lot! Help on the topic — viewtopic.php?p=296169#p296169
Post Reply