linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lentvorski <bsder@allcaps.org>
To: Oliver Hartkopp <socketcan@hartkopp.net>,
	Marc Kleine-Budde <mkl@pengutronix.de>,
	linux-can@vger.kernel.org
Subject: Re: Bug on configure ... where to report?
Date: Mon, 02 Mar 2015 23:06:35 -0800	[thread overview]
Message-ID: <54F55D7B.8010600@allcaps.org> (raw)
In-Reply-To: <54F550DA.3010601@hartkopp.net>

[-- Attachment #1: Type: text/plain, Size: 7312 bytes --]

That patch didn't hit my inbox (for some reason), so I went to gmane
to grab the patch.  gmane mangled it.  I can't believe I missed that. :(

git apply and patch work fine after I unmangle the patch.


Problem still remains though.  Configure script works fine if I delete
that parenthesis.  What should I send to help you figure this out?

-a




root@beaglebone:~/can-utils# patch -p1 <../can-utils-patch 
patching file GNUmakefile.am
patching file configure.ac
root@beaglebone:~/can-utils# ./autogen.sh

----------
autoreconf
----------

configure.ac:22: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:22: You should run autoupdate.
../../lib/autoconf/general.m4:194: AC_FOREACH is expanded from...
aclocal.m4:9254: _AM_SET_OPTIONS is expanded from...
aclocal.m4:8956: AM_INIT_AUTOMAKE is expanded from...
configure.ac:22: the top level
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config/autoconf'.
libtoolize: copying file `config/autoconf/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config/m4'.
libtoolize: copying file `config/m4/libtool.m4'
libtoolize: copying file `config/m4/ltoptions.m4'
libtoolize: copying file `config/m4/ltsugar.m4'
libtoolize: copying file `config/m4/ltversion.m4'
libtoolize: copying file `config/m4/lt~obsolete.m4'
libtoolize: Consider adding `-I config/m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:22: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:22: You should run autoupdate.
../../lib/autoconf/general.m4:194: AC_FOREACH is expanded from...
aclocal.m4:9254: _AM_SET_OPTIONS is expanded from...
aclocal.m4:8956: AM_INIT_AUTOMAKE is expanded from...
configure.ac:22: the top level
Useless use of /d modifier in transliteration operator at /usr/share/automake-1.9/Automake/Wrap.pm line 60.
configure.ac: installing `config/autoconf/install-sh'
configure.ac: installing `config/autoconf/missing'
configure.ac:10: installing `config/autoconf/config.guess'
configure.ac:10: installing `config/autoconf/config.sub'
GNUmakefile.am: installing `config/autoconf/depcomp'

--------
Finished
--------

root@beaglebone:~/can-utils# ./configure
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
./configure: line 11660: syntax error near unexpected token `)'
./configure: line 11660: `)'


Relevant section of the configure file:
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11643 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11644 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11645 
11646 
11647 
11648 if
11649   test "x$enable_dependency_tracking" != xno \
11650   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11651   am__fastdepCC_TRUE=
11652   am__fastdepCC_FALSE='#'
11653 else
11654   am__fastdepCC_TRUE='#'
11655   am__fastdepCC_FALSE=
11656 fi
11657 
11658 
11659 
11660 )
11661 
11662 #
11663 # Checks for header files.
11664 #
11665 for ac_header in  \
11666         fcntl.h \
11667         limits.h \
11668         locale.h \
11669         stdint.h \
11670         stdlib.h \
11671         string.h \
11672         syslog.h \
11673         termios.h \
11674         unistd.h \
11675         \
11676         netinet/in.h \
11677         \
11678         sys/ioctl.h \
11679         sys/socket.h \
11680         sys/time.h \
11681 
11682 do :
11683   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11684 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11686   cat >>confdefs.h <<_ACEOF
11687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11688 _ACEOF
11689 
11690 fi
11691 
11692 done
11693 
11694 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-03-03  7:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26  0:07 Bug on configure ... where to report? Andrew Lentvorski
2015-02-26  8:45 ` Marc Kleine-Budde
2015-03-02 22:57   ` Andrew Lentvorski
2015-03-03  6:12     ` Oliver Hartkopp
2015-03-03  7:06       ` Andrew Lentvorski [this message]
2015-03-03  7:29     ` Marc Kleine-Budde
2015-03-03 10:30       ` Andrew Lentvorski
2015-02-26  8:47 ` Marc Kleine-Budde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F55D7B.8010600@allcaps.org \
    --to=bsder@allcaps.org \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=socketcan@hartkopp.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).