[openbeos] Re: Building OpenBFS...

  • From: "Balint, Jess" <JBalint@xxxxxxxxxxx>
  • To: "'openbeos@xxxxxxxxxxxxx'" <openbeos@xxxxxxxxxxxxx>
  • Date: Thu, 2 May 2002 14:23:18 -0400

That's right. I feel stupid now. How about grep in the makefile that checks
for the load_symbols() function in the correct header. The if it is found,
CFLAGS = -D_LOAD_DRIVER_SYMBOLS_FUNCTION_FOUND_. THEN in the code that call
the function do the #ifdef thing. That way, when the OBOS version of the
header is correct it will work correctly, but until then it will also work
correctly with the R5 headers missing that function.

-----Original Message-----
From: Bruno G. Albuquerque [mailto:bga@xxxxxxxxxxxxx]
Sent: Thursday, May 02, 2002 4:17 PM
To: openbeos@xxxxxxxxxxxxx
Subject: [openbeos] Re: Building OpenBFS...


> Maybe when the configure script is run, it could #define something 
> and then
> in the source file that uses the load_symbols() function it could 
> call the
> function using #ifdef. The configure script could check for existance 
> of the
> needed header. I guess it is still a plug for now, but makes it R5
> compatible.

There is no configure script. And the header will always exist anyway. 
The problem is that it seems there are multiple versions of this 
header... One of them does not have the load_driver_symbols() 
prototype.

-Bruno


--
Fortune Cookie Says:

"Life to you is a bold and dashing responsibility"
                -- a Mary Chung's fortune cookie


Other related posts: