EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: application build error with new sequence program
From: "S. Stein" <[email protected]>
To: [email protected]
Date: Wed, 21 Dec 2011 16:26:11 -0600 (CST)
Greetings,

  I have a minGW build of epics 3.14.12.1 - and using an older version of the sequencer (I haven't been able to try Benjamin's fix for the newest release yet). I have built and run the example sequence, and now am replacing that one with my own. When I do a 'make' I get the following error: 

g++ -o sncProgram.exe  -LC:\Users\Josh\base-3.14.12.1\lib\win32-x86-mingw -LC:\Users\Josh\seq-2.
0.14\lib\win32-x86-mingw       -m32               scaStartup.o    -lseq -lpv -lcas -lgdd -lasHos
t -ldbStaticHost -lregistryIoc -lca -lCom
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libmingw32.a(main.o): In function `main':
C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [sncProgram.exe] Error 1

I verified that the application will build fine when I point the Makefile back to the example sequence program, so it seems isolated to my new sequence; however I can see nothing peculiar in that .stt file. Has anyone seen this creep up before and can offer the simple "just add this" solution?

Thanks,
--Josh


Replies:
RE: application build error with new sequence program Mark Rivers

Navigate by Date:
Prev: Re: cainfo and access Geoff Savage
Next: RE: application build error with new sequence program Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: cainfo and access Geoff Savage
Next: RE: application build error with new sequence program Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·