Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users
Re: heartbeat on solaris 10 (problems)
 

Index | Next | Previous | View Flat


t.d.lee at durham

Mar 13, 2008, 8:43 AM


Views: 1891
Permalink
Re: heartbeat on solaris 10 (problems) [In reply to]

On Thu, 13 Mar 2008, maximatt wrote:

> hi... i trying to compile/install heartbeat 2.1.3 on solaris 10 (x86).. so i
> execute the following instruccition:
>
> LDFLAGS="-L/opt/linux-ha/libnet-1.1.2.1/lib"
> CPPFLAGS="-I/opt/linux-ha/libnet-1.1.2.1/include" ./ConfigureMe make
>
> but i receive the following error:
> [...]
> cl_reboot.c: In function `cl_reboot':
> cl_reboot.c:50: error: too few arguments to function `reboot'
> gmake[2]: *** [cl_reboot.lo] Error 1

This is a known problem, new at version 2.1.3. (It has since been
properly fixed for future releases.)

The "quick fix" is quite straightforward.

Edit the lib/clplumbing/cl_reboot.c" source file; at line 15 change the
line:
#define REBOOT1ARG 1
to read:
#define REBOOT2ARG 1

(that is, the number in that capitalised word from 1 to 2). The rebuild
should then work. (I hope!)

To understand what it does, look near line 50 where it is used to pick up
which form of the "reboot(...)" call to use.

Hope that helps.


--

: David Lee I.T. Service :
: Senior Systems Programmer Computer Centre :
: UNIX Team Leader Durham University :
: South Road :
: http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE :
: Phone: +44 191 334 2752 U.K. :
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Subject User Time
heartbeat on solaris 10 (problems) azamax at gmail Mar 13, 2008, 6:22 AM
    Re: heartbeat on solaris 10 (problems) t.d.lee at durham Mar 13, 2008, 8:43 AM
        Re: heartbeat on solaris 10 (problems) azamax at gmail Mar 13, 2008, 10:20 AM
    Re: heartbeat on solaris 10 (problems) azamax at gmail Mar 13, 2008, 10:23 AM
    Re: heartbeat on solaris 10 (problems) azamax at gmail Mar 14, 2008, 7:06 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.