quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] I can't compile quilt!


From: Охрименко Александр
Subject: Re: [Quilt-dev] I can't compile quilt!
Date: Sun, 8 Jul 2012 18:10:21 +0300

Hello Kaz!

Thank you for your advise! But i have some troubles with compilation again. You can find variable PACKAGE_STRING in sources of quilt in file "configure" at line number 579, section
# Identity of this package.
.....
PACKAGE_STRING='quilt 0.48'

If i change this string to 'quilt-0.48', ./configure, make, compilation passed without any problem. But in process of compilation firmware package quilt downloaded, unpacking, configuring and compilling again and ... failed.
I think on stage, when created Makefile, work some rule processing, for transformation string variable with spaces in some output format and do it wrong.
Probably this question/problem not for you and quilt development team. Please tell me what you think about this situation.

Thank you for your answer and help!

Again failed compilation log:http://pastebin.com/2qrbTh9B
Successfully ./configure and ./make log with my editing:http://pastebin.com/ABRMR2PG

And command gcc  -O2 -I/qq/trunk/staging_dir/host/include -Wall -O2 -I/qq/trunk/staging_dir/host/include -DPACKAGE_NAME=\"quilt\" -DPACKAGE_TARNAME=\"quilt\" -DPACKAGE_VERSION=\"0.48\" -DPACKAGE_STRING=\"quilt-0.48\" -DPACKAGE_BUGREPORT=\"address@hidden\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_FCHMOD=1 -DHAVE_CHMOD=1 -DHAVE_MKSTEMP=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRERROR=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -L/qq/trunk/staging_dir/host/lib  lib/backup-files.c   -o lib/backup-files
Work without error.

Sorry my english and i known a little bit about compilling source code in linux ))


Okhrymenko Aleksandr


2012/7/5 Kaz Kylheku <address@hidden>

Oops, I realized after sending that this cluelessly and
rudely misconfigured mailing list performs "Reply-To header
munging", so the reply did not properly go to Охрименко Александр,
with the list in the CC: line! This means that Охрименко
may not have received the reply (if he is not a list subscriber).

I will be sure to watch for this issue in the future.

Here goes take two:

On Thu, 5 Jul 2012 21:00:01 +0300, Охрименко Александр
<address@hidden> wrote:
> Please help!
> I compile quilt from openwrt software http://openwrt.org [1] and get
> error (( I cant compile firmware openwrt for my wi-fi router (( Full
> log locate here : http://pastebin.com/i1Abmj2s [2] Please help me if
> you can...

You have some kind of quoting issue.

According to the build output, GCC is being called with this
argument:

  -DPACKAGE_STRING=\"quilt\ 0.48\"

It looks like the backslashes are being processed before this is
turned into a shell command, and so it splits into two arguments:

  -DPACKAGE_STRING="quilt
  0.48"

Is this PACKAGE_STRING something set by the OpenWRT build system
(via exporting CFLAGS or whatever?)  I don't see any PACKAGE_STRING
in the quilt 0.48 sources.

Anyway, the build system should not be passing in random CFLAGS
that are not a documented part of a project's build interface.

As a workaround, try editing the OpenWRT build steps so
that CLAGS is not passed down to quilt's configuration or
build. Unset the variable if it is exported, and remove any references
to it from make invocations.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]