bug-indent
[Top][All Lists]
Advanced

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

"undefined reference to `wildexp'" when compiling in mingw


From: keldzh
Subject: "undefined reference to `wildexp'" when compiling in mingw
Date: Sat, 9 Aug 2014 23:52:23 +0400

Hello
I tried to install indent-2.2.10 from source on my computer with MS Windows
8 system with MinGW32 the usual way:
./configure --prefix=/mingw
make
make install
But I got the error:
gcc  -g -O2   -o indent.exe indent.o args.o backup.o comments.o lexi.o
parse.o globs.o code_io.o output.o utils.o /mingw/lib/libintl.a
-L/mingw/lib /mingw/lib/libiconv.a /mingw/lib/libintl.a -L/mingw/lib
/mingw/lib/libiconv.a
indent.o: In function `main':
c:\Users\keldz_000\Documents\Coding\indent-2.2.10\src/indent.c:3303:
undefined reference to `wildexp'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [indent.exe] Error 1
I didn't see another option how to install this progrum under MinGW32 with
Makefile in the folder miscel. And I made some changes to the files
configure.ac and src/Makefile.am, which helped me to compile and install
this program.
I think this is a more correct way to install program than additional
Makefles. Therefore I attach to this letter patch-file with my changes.

Anton Kovalyov <address@hidden>

Attachment: indent-2.2.10_mingw32.patch
Description: Binary data


reply via email to

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