FreeBSD abstract declarator used as declaration
When compiling the DMC server DLL on
FreeBSD 5.1 (egcs 1.1.2) I get the following wierd error: Code:
In file included from /usr/include/stdarg.h:42, Code:
typedef __ct_rune_t __wchar_t; but problems occur later on in the compile (near pm_shared.cpp). Code:
/usr/include/stdlib.h:57: parse error before `wchar_t' Also would like to note that in order to get the HL sdk to compile on FreeBSD I needed to get the Egcs 1.1.2 package from the Freebsd ftp ftp://ftp.freebsd.org/pub/FreeBSD/po...egcs-1.1.2.tgz I could not get the egcs source distribution to compile, it gave a similar error to the one mentioned above. Thanks, |
Re: FreeBSD abstract declarator used as declaration
You can't compile anything HL-related straight out of the box on FreeBSD because HL is meant to run on Linux, and FreeBSD and Linux have different binary formats.
You can have a Linux HL server running on FreeBSD though, because FreeBSD knows how to *EMULATE* a Linux environment to make Linux binaries run. But you can't compile a Linux binary on your FreeBSD box with your FreeBSD compiler, because you will get a FreeBSD binary, and not a Linux one - unless you do a "cross-compile", which is quite a complicated thing to do. |
Re: FreeBSD abstract declarator used as declaration
Sigh, ok thanks for the info.
Which takes more time, learning to cross-compile on freebsd? or installing gnu-linux ? Why don't they put these things in the SDK readme? or is there a faq somewhere that I don't know about? |
Re: FreeBSD abstract declarator used as declaration
definitely learning to cross-compile on freebsd :)
AFAIK, there is no other documentation about the Half-Life SDK than the text files that come with the SDK. Eventually, botman (HPB_bot) and Will Day (metamod) have written a small blurb and a (very incomplete) API reference on their respective websites. |
All times are GMT +2. The time now is 17:58. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.