Problem solved - I had a fat-finger incident in my Makefile.
Lessons learned? don't comment out the following line:
sncProgram_SRCS += sncProgram.st
Nothing more to see here, move along :)
Have a great holiday break everyone!
--J
----- Original Message -----
From: "Mark Rivers" <[email protected]>
To: "S. Stein" <[email protected]>, [email protected]
Sent: Wednesday, December 21, 2011 4:30:29 PM
Subject: RE: application build error with new sequence program
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
- References:
- RE: application build error with new sequence program Mark Rivers
- Navigate by Date:
- Prev:
RE: application build error with new sequence program Mark Rivers
- Next:
Australian Synchrotron Employment Opportunities Controls Lou Corvetti
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: application build error with new sequence program Mark Rivers
- Next:
Australian Synchrotron Employment Opportunities Controls Lou Corvetti
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|