<HTML dir=ltr><HEAD><TITLE>[DRBD-user] Compilation problem on FC6</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.3790.2795" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText27267 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>dont know if this will help but I had problems in that area a while back with FC also.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>check the scripts/get_uts_release.sh file</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>its gonna be trying to link to the kernel source somwhere .... and chances are its the wrong directory... </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I did an echo of the line that was failing , found where it was looking for the files and I jimmied this as far as I&nbsp; remember by symlinking whatever directory it was looking for to /usr/src/linux and as far as I remember that worked.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>natch ymmv</FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Rafe</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> drbd-user-bounces@lists.linbit.com on behalf of Ask Bjørn Hansen<BR><B>Sent:</B> Fri 17/11/2006 19:41<BR><B>To:</B> drbd-user@lists.linbit.com<BR><B>Subject:</B> [DRBD-user] Compilation problem on FC6<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>All versions (svn trunk, 8.0pre6, 0.7.22) of drbd seems to fail in&nbsp;<BR>the following way for me,<BR><BR>$ make rpm<BR>[...]<BR>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 163 2006-11-17 03:07:38 drbd-0.7.22/drbd/<BR>drbd_buildtag.c<BR>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4284 2006-10-23 02:00:29 drbd-0.7.22/.filelist<BR>+ STATUS=0<BR>+ '[' 0 -ne 0 ']'<BR>+ cd drbd-0.7.22<BR>+ test -d /lib/modules/2.6.18-1.2849.fc6/build/.<BR>++ scripts/get_uts_release.sh<BR>+ test '' = 2.6.18-1.2849.fc6<BR>error: Bad exit status from /var/tmp/rpm-tmp.77189 (%prep)<BR><BR>Any ideas?<BR><BR>Am I missing some prereqs?<BR><BR><BR>&nbsp; - ask<BR><BR>--<BR><A href="http://develooper.com/">http://develooper.com/</A> - <A href="http://askask.com/">http://askask.com/</A><BR><BR><BR>_______________________________________________<BR>drbd-user mailing list<BR>drbd-user@lists.linbit.com<BR><A href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</A><BR></FONT></P></DIV></BODY></HTML>