summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009212.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009212.html')
-rw-r--r--zarb-ml/mageia-dev/2011-October/009212.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009212.html b/zarb-ml/mageia-dev/2011-October/009212.html
new file mode 100644
index 000000000..b871114af
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-October/009212.html
@@ -0,0 +1,107 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Strange warning when building ascii
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD1F1F.7060903%40gmx.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="009210.html">
+ <LINK REL="Next" HREF="009211.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Strange warning when building ascii</H1>
+ <B>Kamil Rytarowski</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD1F1F.7060903%40gmx.com%3E"
+ TITLE="[Mageia-dev] Strange warning when building ascii">n54 at gmx.com
+ </A><BR>
+ <I>Sun Oct 30 10:55:43 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="009210.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI>Next message: <A HREF="009211.html">[Mageia-dev] Mageia-dev] mageia 2 and systemd
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9212">[ date ]</a>
+ <a href="thread.html#9212">[ thread ]</a>
+ <a href="subject.html#9212">[ subject ]</a>
+ <a href="author.html#9212">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 30.10.2011 08:54, Anssi Hannula wrote:
+&gt;<i> On 30.10.2011 00:07, Oliver Burger wrote:
+</I>&gt;&gt;<i> Hi,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I (or better one of my padawans) have one problem:
+</I>&gt;&gt;<i> When trying to build ascii the build is running fine but in the buildlogs,
+</I>&gt;&gt;<i> there is a strange warning about not finding any &quot;build ID note&quot;.
+</I>&gt;<i> This happens when our %ldflags are not used for linking.
+</I>&gt;<i>
+</I>&gt;<i> You probably need to use LDFLAGS=&quot;%ldflags&quot; somewhere or some other flag
+</I>&gt;<i> or variable, to get the %ldflags to appear after 'cc' in this line in
+</I>&gt;<i> the build:
+</I>&gt;<i> cc -DREVISION=3.11 ascii.c -o ascii
+</I>&gt;<i>
+</I>&gt;<i> - Spoilers below -
+</I>&gt;<i>
+</I>&gt;<i> OK, looked at the package.
+</I>&gt;<i> First, your %build is wrong. You use CFLAGS=&quot;$RPM_OPT_FLAGS&quot; in the
+</I>&gt;<i> %make command, but the Makefile doesn't even use any CFLAGS variable!
+</I>&gt;<i>
+</I>&gt;<i> Similarly, it doesn't use LDFLAGS so setting that would do no good either.
+</I>&gt;<i>
+</I>&gt;<i> You need to either e.g.
+</I>&gt;<i> a) change the CFLAGS=&quot;$RPM_OPT_FLAGS&quot; to CC=&quot;gcc %optflags %ldflags&quot;, or
+</I>&gt;<i> b) patch the Makefile to use $(CFLAGS) $(LDFLAGS) after the $(CC)
+</I>&gt;<i> instance and use %setup_compile_flags before %make.
+</I>Thank you! You are amazing!
+
+
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="009210.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI>Next message: <A HREF="009211.html">[Mageia-dev] Mageia-dev] mageia 2 and systemd
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9212">[ date ]</a>
+ <a href="thread.html#9212">[ thread ]</a>
+ <a href="subject.html#9212">[ subject ]</a>
+ <a href="author.html#9212">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>