FreeBSD compilation

Linux specific questions.
Post Reply
yevrowl
Posts: 13
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: 13
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: 13
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
custard375
Posts: 2
Joined: Mar 30, 2023 12:08

Re: FreeBSD compilation

Post by custard375 »

Hello,
Missing dependencies: If the graphics libraries or dependencies required by the software you are compiling are not installed or not installed correctly, it can cause issues with graphics. Make sure to check that all required dependencies are installed and up-to-date.

Configuration issues: If the software you are compiling has specific configuration options related to graphics, it's possible that they are not set correctly. Make sure to review the documentation for the software and ensure that you are using the correct configuration options for your system.

Compilation errors: If there are errors during the compilation process, it can cause issues with graphics. Make sure to review any error messages that are displayed during compilation and address them before attempting to run the software.

Compatibility issues: If the software you are compiling was not designed or tested for use on FreeBSD, it's possible that it may not work correctly with the graphics system on your system. Make sure to check the software documentation and forums to see if there are any known issues or workarounds for running the software on FreeBSD.

Without more specific information about the software you are compiling and the issues you are experiencing, it's difficult to provide a more detailed answer. I would recommend reviewing the software documentation and forums, as well as consulting with the FreeBSD community for additional support.
Post Reply