Re: undefined reference to `__w32_sharedptr_unexpected'

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

 



Brian Dessent wrote:
Aaron Patton wrote:

Well that made the cpp stuff happy, but now the fortran stuff  yields
the following

I had neglected the fact that this was a mixed language link.  In that
case there's no way to avoid exposing the implementation details; you'll
have to either use g++ and add -lgfortran or use gfortran and add
-lstdc++ -lsupc++.  I think the former is slightly cleaner than the
latter.

Brian


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

Aaron

[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