[DRBD-user] Unable to compile drbd-8.2.4 on SUSE 10

Ben Clewett ben at roadrunner.uk.com
Mon Feb 4 12:59:37 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.



Hi,

First:

Ensure you read the INSTALL in the tar file.  There are things you need 
to do first.

Second, and I have just been battling this:

Ensure your running kernel is the same as your kernel source code.  SUSE 
10.3 will upgrade your source directory and symbolic links, but not the 
running kernel, even after reboot.  This will also cause this problem.

Check 'uname -r' is similar to the symbolic link '/usr/src/linux'...

Ben


Azeez Ahamed wrote:
> Hi All,
> 
>     I am not able to compile the latest tar (drbd-8.2.4) on SLES10. When 
> i did a make, i got the following error message
> 
> =====================================================================================
>    make -C drbd drbd_buildtag.c
>    make[1]: Entering directory `/root/drbd-8.2.4/drbd'
>    make[1]: Leaving directory `/root/drbd-8.2.4/drbd'
>    make[1]: Entering directory `/root/drbd-8.2.4/user'
>    cp ../drbd/drbd_buildtag.c drbd_buildtag.c
>    gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbd_buildtag.o drbd_buildtag.c
>    gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o 
> drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o      drbd_buildtag.o
>   gcc -o drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o 
> drbd_buildtag.o
>   gcc -o drbdsetup drbdsetup.o drbdtool_common.o drbd_buildtag.o 
> drbd_strings.o
>   make[1]: Leaving directory `/root/drbd-8.2.4/user'
>   make[1]: Entering directory `/root/drbd-8.2.4/scripts'
>   Makefile:48: No special distribution INITD
>   Makefile:49: setting INITD=/etc/init.d/ according to LSB
>   make[1]: Nothing to be done for `all'.
>   make[1]: Leaving directory `/root/drbd-8.2.4/scripts'
>   make[1]: Entering directory `/root/drbd-8.2.4/documentation'
>   To (re)make the documentation: make doc
>   make[1]: Leaving directory `/root/drbd-8.2.4/documentation'
> 
>         Userland tools build was successful.
>   Could not determine uts_release
>    make: *** [module] Error 1
> ======================================================================================
> My setup details are :
>        OS: SLES 10 (i586)
>     Kernel: 2.6.16.21-0.8-default
>  
> Please let me know, if have to configure/edit some files before i  
> continue with the compilation.
> 
> Any help will be appreciated.
> 
> Thanks,
> Azeez
> 
> 
> Simply Marry 
> <http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/2016579_2009445/2018064/1?PARTNER=3&OAS_QUERY=null>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


*************************************************************************
This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us

  Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
  Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
  Registered in England No: 02017435, Registered Address: Charter Court, 
  Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE. 
*************************************************************************



More information about the drbd-user mailing list