Rama Krishna | 26 Feb 18:18 2015
Picon

[Mingw-msys] unistd.h: compilation errors

Hello,

I tried to use MinGW for FFMPEG build. I am finding below compilation errors:
Can somebody help me to resolve these errors?
----------------------------------------------------------------------------------------------------------------------------------
c:\mingw\include\unistd.h:79:1: error: expected ',' or ';' before 'int'
 int __mingw_sleep( unsigned long, unsigned long );
 ^
c:\mingw\include\unistd.h:105:1: error: expected ',' or ';' before 'int'
 int nanosleep( const struct timespec *, struct timespec * );
 ^
c:\mingw\include\unistd.h:125:28: error: expected ',' or ';' before 'usleep'
 int _cdecl __MINGW_NOTHROW usleep( useconds_t )__MINGW_ATTRIB_DEPRECATED;
                            ^
c:\mingw\include\unistd.h:138:10: error: conflicting types for '_cdecl'
 unsigned _cdecl __MINGW_NOTHROW sleep( unsigned );
          ^
c:\mingw\include\unistd.h:125:5: note: previous declaration of '_cdecl' was here
 int _cdecl __MINGW_NOTHROW usleep( useconds_t )__MINGW_ATTRIB_DEPRECATED;
     ^
c:\mingw\include\unistd.h:138:33: error: expected ',' or ';' before 'sleep'
 unsigned _cdecl __MINGW_NOTHROW sleep( unsigned );
                                 ^
c:\mingw\include\unistd.h:153:12: error: expected '=', ',', ';', 'asm' or '__att
ribute__' before 'ftruncate'
 int _cdecl ftruncate( int, off_t );
----------------------------------------------------------------------------------------------------------------------------------

--
"Nothing happens until I make it happen"

A.Ramakrishna,
PathPartner Technologies
Bangalore.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
Scott Neugroschl | 26 Feb 17:34 2015

Re: MinGW-users Digest, Vol 105, Issue 10

Date: Tue, 24 Feb 2015 16:56:54 -0500
From: "Earnie" <earnie@...>
Subject: Re: [Mingw-users] Automatic path  translation....

> I don't understand this.  If you use -DMY_MACRO=//usr/local/mypath then MSYS simply removes the first /
and passes that to the 
> program.  Sed shouldn't be needed.

Not quite:

$ cat a.c
FRED
$ c89 -DFRED=/usr/local/fred -E a.c
#line 1 "c:\\Users\\scott_n\\a.c"
C:/MinGW/msys/1.0/local/fred
$ c89 -DFRED=//usr/local/fred -E a.c
#line 1 "c:\\Users\\scott_n\\a.c"
/ /usr/local/fred
$ c89 -DFRED='//usr\local\fred' -E a.c
#line 1 "c:\\Users\\scott_n\\a.c"
/usr/local/fred

Note that when I use //usr/local/fred I get a leading "/ " on the output.
Only //usr\local\fred  gives the proper output.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

calliopejoe | 26 Feb 16:01 2015
Picon

Loading gcc with the MinGW Installation Manager

Hi,

I'm installing MinGW and MSYS for the first time. I have run the MinGW Installation Manager and selected the g++ package for installation.



When I attempt to build a Makefile using ./configure, I get an error message that no compiler was found:

.
.
.
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/c/wxWidgets-3.0.2-Turbo/build/msw':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Moreover, running which shows that the package is either missing or unreachable

Developer1 <at> Developer1-PC /c/wxWidgets-3.0.2-Turbo
$ which gcc
which: gcc: unknown command

What have I left out? I thought that the MinGW Installation Manager should have installed this when I selected the package. Is g++ really missing or am I missing some path information somewhere?

Joe
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
Radjino Bholanath | 26 Feb 10:34 2015
Picon
Picon

Questions about code reviews and static analysis tools for TU Delft research

Hi everyone,

I'm doing research on code reviews and static analysis tools at the SERG group
(http://swerl.tudelft.nl/bin/view/Main/WebHome) of the Delft University of Technology.
Currently, we want to give an overview of the usage of code review and static analysis tools in open source
projects. Therefore, I would be very happy to know a little bit more about how code reviews are used in MinGW
and if (and maybe how) static analysis tools are used. I have a couple of questions for anyone willing to answer:

1. Do all developers (contributors and core developers) have to submit a code review for every change?
I’m asking because many projects only review changes made by contributors.

2. Which code review tools are used?

3. Are static analyzers used? If they are used:
  a. Is passing the checks of the static analyzers necessary for a change to be accepted?
  b. Which static analyzers are used?

Thanks,

Radjino

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Scott Neugroschl | 23 Feb 21:09 2015

Automatic path translation....

Are there any plans at all to provide some kind of switch for automatic path translation (/usr, etc…)

 

I am using MinGW with Eclipse and a cross compilation toolset.  The problem is that I’m using autotools to generate makefiles,

so when paths are passed to it (using –DSOME_PATH=”/usr/…..”), they get translated.

 

I tried replacing the path with //usr\subdir\subdir, but then I ran into a different problem.  This is a makefile generated by autotools, and it creates target config files using sed, which doesn’t mangle paths.

 

So I can either use the /usr form, and get bad defines passed to my compiler, or use //usr\, and get my config file mangled.

 

An environment variable to control path mangling behavior would be incredibly useful.

 

 

---

Scott Neugroschl | XYPRO Technology Corporation

4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
dE | 18 Feb 05:48 2015
Picon

My compiled libraries always result in undefined references.

Hi!

I've tried to compiling ldns, cares and both of these, although compile, 
result in undefined references when trying to link a program using them

/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x55): undefined reference to
`ldns_dname_new_frm_str'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x7e): undefined reference to
`ldns_resolver_new_frm_file'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xaa): undefined reference to
`ldns_resolver_query'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xba): undefined reference to
`ldns_rdf_deep_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xe7): undefined reference to
`ldns_pkt_rr_list_by_type'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xf7): undefined reference to
`ldns_rr_list2str'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x107): undefined reference to
`ldns_rr_list_deep_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x113): undefined reference to
`ldns_pkt_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x11f): undefined reference to
`ldns_resolver_deep_free'
/home/de/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/../../../../i686-pc-mingw32/bin/ld: 

/tmp/cci2q85W.o: bad reloc address 0x20 in section `.eh_frame'
/home/de/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/../../../../i686-pc-mingw32/bin/ld: 

final link failed: Invalid operation
collect2: error: ld returned 1 exit status

Compiling with -lldns

Compiling cares code --

/tmp/ccVzPSId.o:ares_txt_resolver.c:(.text+0x16): undefined reference to 
`_imp__ares_library_init'
/tmp/ccVzPSId.o:ares_txt_resolver.c:(.text+0x24): undefined reference to 
`_imp__ares_init'
/tmp/ccVzPSId.o:ares_txt_resolver.c:(.text+0x5a): undefined reference to 
`_imp__ares_search'

I installed using MXE on Linux.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Fabrizio Buratta | 12 Feb 11:30 2015
Picon

Hard issue building against Python27.dll 64 bit with MinGW 64 bit

HI all,

I'm struggling with this since days but no clue at all.

My C++ application compiles against Python27.dll successfully on windows 32 with mingw 32 but 
on the 64 bit something is not working properly at runtime .

I've installed python-2.7.9.amd64.msi

and the mingw 64 compiler is:

$ g++ --version
g++.exe (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 4.9.2

No errors while Compiling and linking so I get my executables but when I try to execute my Application I get:

Cannot find entry point _PyArg_Parse in dynamic link library in python27.dll

Any clue or similar experiences would be really appreciated.

thanks in advance

--
Fab



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
David Taylor | 10 Feb 01:34 2015

bug report: pthread_delay_np provided library compilation provides only 1 second actual resolution??

Unlikely as this sounds, I found what would appear to be a 
pthreads-win32 provided library original compiler error.
Using gdb, I traced into pthread_delay_np() (in assembly mode). The 
WaitForSingleObject is getting passed a millisecond parameter floored to 
the second.

//BROKEN (STOCK mingw pthread DLL) - any delay less than a second is 
rounded to 0
// cmd.exe
// \MinGW\bin\gcc -g -o pthread3 pthread3.c -lwinmm -lpthread

//WORKS (STATIC debug build library from sourceforge sourcecode) good to 
millisecond accuracy
// cmd.exe
// cd ptw32\pthreads-w32-2-9-1-release\pthreads.2
// set HOME=.
// \mingw\msys\1.0\msys.bat
// make clean GC-static-debug
// exit
// copy pthreads3.c .
// \MinGW\bin\gcc -g -o pthread3 -DPTW32_STATIC_LIB pthread3.c pthread.o 
-lwinmm
//(gdb) directory ptw32\pthreads-w32-2-9-1-release\pthreads.3

#include <windows.h>
#include <windowsx.h>
#include <mmsystem.h>
#include "pthread.h"
#include <stdio.h>

struct timespec tim1   = { 0,   10000000 /*ns*/};    //10ms or 900ms, it 
doesn't matter...
//struct timespec tim1   = { 1,   0 /*ns*/};

void * __attribute__((__cdecl__)) hello(void *id)
{    int i, rc=0;
     DWORD startime, endtime, lapsetime;

     startime=endtime = timeGetTime() ;
     for (i=0; i<=5; ++i) {
         printf("%d: Hello world! %d %d t%d\n", *((int*) 
id),rc,i,endtime-startime);    //after the first pass, the last number 
printed SHOULD match tim1(in milliseconds)
         startime=endtime;
         rc=pthread_delay_np(&tim1);    //const struct timespec 
*deltatime    //only seconds working
         endtime = timeGetTime() ;
     }
     return;
}

int main(int argc, char* argv[])
{
     const int COUNT = 5;
     int i, retval,rc;
     pthread_attr_t attr;
     pthread_t thread[COUNT];
     int ids[COUNT];

     rc = pthread_attr_init(&attr);
     rc = pthread_attr_setschedpolicy(&attr, SCHED_RR);
     printf("attr_setdetachedstate: %d\n",rc);

     for (i = 0; i < COUNT; i++) {
         ids[i] = i;
         retval = pthread_create(&thread[i], &attr, hello, &ids[i]);
         if (retval) {
             perror("pthread_create failed");
             return 1;
         }
     }
     for (i = 0; i < COUNT; i++)
         pthread_join(thread[i], NULL);

     return 0;
}

pthread_delay_np.c source with commentary edits marked DTAYLOR follows:
int
pthread_delay_np (struct timespec *interval)
{
   DWORD wait_time;
   DWORD secs_in_millisecs;
   DWORD millisecs;
   DWORD status;
   pthread_t self;
   ptw32_thread_t * sp;

   if (interval == NULL)
     {
       return EINVAL;
     }

   if (interval->tv_sec == 0L && interval->tv_nsec == 0L)
     {
       pthread_testcancel ();
       Sleep (0);
       pthread_testcancel ();
       return (0);
     }

   /* convert secs to millisecs */
   secs_in_millisecs = (DWORD)interval->tv_sec * 1000L; //DTAYLOR the 
assembly sequence performing the next two lines is rather opaque and 
apparently wrong

   /* convert nanosecs to millisecs (rounding up) */
   millisecs = (interval->tv_nsec + 999999L) / 1000000L;

#if defined(__WATCOMC__)
#pragma disable_message (124)
#endif

   /*
    * Most compilers will issue a warning 'comparison always 0'
    * because the variable type is unsigned, but we need to keep this
    * for some reason I can't recall now.
    */
   if (0 > (wait_time = secs_in_millisecs + millisecs))
     {
       return EINVAL;
     }

#if defined(__WATCOMC__)
#pragma enable_message (124)
#endif

   if (NULL == (self = pthread_self ()).p)
     {
       return ENOMEM;
     }

   sp = (ptw32_thread_t *) self.p;

   if (sp->cancelState == PTHREAD_CANCEL_ENABLE)
     {
       /*
        * Async cancelation won't catch us until wait_time is up.
        * Deferred cancelation will cancel us immediately.
        */
       if (WAIT_OBJECT_0 ==
       (status = WaitForSingleObject (sp->cancelEvent, wait_time)))    
//DTAYLOR WaitForSingleObject is actually being called with wait_time=0
     {
           ptw32_mcs_local_node_t stateLock;
       /*
        * Canceling!
        */
       ptw32_mcs_lock_acquire (&sp->stateLock, &stateLock);
       if (sp->state < PThreadStateCanceling)
         {
           sp->state = PThreadStateCanceling;
           sp->cancelState = PTHREAD_CANCEL_DISABLE;
           ptw32_mcs_lock_release (&stateLock);

           ptw32_throw (PTW32_EPS_CANCEL);
         }

       ptw32_mcs_lock_release (&stateLock);
       return ESRCH;
     }
       else if (status != WAIT_TIMEOUT)
     {
       return EINVAL;
     }
     }
   else
     {
       Sleep (wait_time);
     }

   return (0);
}

mingw installed from GUI installation manager sometime in the last six 
months.

using cmd.exe under win8

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 
--build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld 
--enable-lto
--enable-libssp --disable-multilib 
--enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry 
--enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs 
--with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld 
--with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes 
--enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 
--with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

d -v
GNU ld (GNU Binutils) 2.24

_mingw.h
#define __MINGW32_VERSION           3.20

GUI installation manager reports the following installed:
mingw-pthreads-w32    2.9.1-1
mingw-pthreads-w32api  3.17-2

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Germán Arias | 9 Feb 07:23 2015
Picon

Problem with conflicting types and previous redefinitions

Hi all. I'm having problems to compile gnustep-gui on mingw. See
attached image (I can't copy&paste from virtual machine to my OS). There
is a way to avoid this problem? Or I will need to edit the headers?

Thanks.
Germán
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe
John Brown | 8 Feb 12:25 2015
Picon

Installing glob.h

Hello All,

I am trying to compile m17n-lib and it fails because glob.h is missing.
A Google search turns up a MinGW glob.h at
http://sourceforge.net/p/mingw/mingw-org-wsl/ci/master/tree/include/glob.h.

Which package should I install to get this file?

Regards,
John Brown.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

Carl Sturtivant | 7 Feb 19:29 2015
Picon

undefined reference to `GetComputerNameExA'

New to in-depth use of MinGW. But it's clearly the right thing!

According to MSDN GetComputerNameExA is in kernel32.dll ,
yet the following program compiles but does not link with my MinGW
installation. Adding -lkernel32 doesn't help. Details below. Any
suggestions how I can get linkage?

========
#include <windows.h>
#include <stdio.h>

int main() {
  char buf[1024];
  DWORD sz = 1024;
  //GetComputerNameA( buf, &sz);
  GetComputerNameExA( 1, buf, &sz);
  printf( "\"%s\"\n", buf);
}
========

msys $ gcc -o gethostname gethostname.c
C:\temp\ccmcT7xy.o:gethostname.c:(.text+0x31):
  undefined reference to `GetComputerNameExA'
collect2.exe: error: ld returned 1 exit status

msys $ gcc --version
gcc.exe (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.

msys $ uname -a
MINGW32_NT-6.1 CARL 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys

========

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe


Gmane