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: RE: application build error with new sequence program
From: "Mark Rivers" <[email protected]>
To: "S. Stein" <[email protected]>, <[email protected]>
Date: Wed, 21 Dec 2011 16:30:29 -0600
Is your sequencer calling some functions from another library?  How do the link commands that EPICS is generating compare for your sequencer and the example sequencer?
 
Mark
 

________________________________

From: [email protected] on behalf of S. Stein
Sent: Wed 12/21/2011 4:26 PM
To: [email protected]
Subject: application build error with new sequence program



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 S. Stein
References:
application build error with new sequence program S. Stein

Navigate by Date:
Prev: application build error with new sequence program S. Stein
Next: Re: application build error with new sequence program S. Stein
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: application build error with new sequence program S. Stein
Next: Re: application build error with new sequence program S. Stein
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 ·