Re: undefined reference to `__w32_sharedptr_unexpected'

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

 



Aaron Patton wrote:

> Ok I went with the former and it got rid of all the errors except the
> following
> $ make -f Makefile
> C:/msys/1.0/mingw/bin/g++ -o cirfets CIRFTYPES.o CIRFETS.o CIRFCHANS.o
> CIRFERRS.o CIRFIO.o CIRFPOST.o CIRFSUBS.o libiolib.a -lgfortran
> C:/msys/1.0/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104):
> undefined reference to `WinMain@16'
> collect2: ld returned 1 exit status
> C:\msys\1.0\mingw\bin\make.exe: *** [cirfets] Error 1

Oops, I guess you'll also need -lgfortranbegin if your entry point is in
Fortran code.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux