BURT is written in C++ using templates, so some (most? every?) version of
g++ can't link objects.
I make a patch for the template codes. I think this modification is correct.
Nevertheless, I can't make binaries. I feel libSDDS.a took plase of the newer
and there was no modification in burt/Makefile.Unix .
Does anyone succeed to make BURT binaries ?
My current environment is
base: R3.12.2
extension: R3.12 (I got this from `EPICS Software Distribution' in the
first of May).
from monaka
---
diff -c -r /usr/local/epics.old/extensions/templates/List/cursor.cc List/cursor.cc
*** /usr/local/epics.old/extensions/templates/List/cursor.cc Wed Sep 20 23:32:04 1995
--- List/cursor.cc Fri May 24 20:20:35 1996
***************
*** 1,5 ****
--- 1,9 ----
#include <stdio.h> /* for NULL */
+ #ifdef __GNUG__
+ #pragma implementation
+ #endif
+
#include "list.h"
#include "node.h"
#include "cursor.h"
diff -c -r /usr/local/epics.old/extensions/templates/List/cursor.h List/cursor.h
*** /usr/local/epics.old/extensions/templates/List/cursor.h Wed Sep 20 23:32:04 1995
--- List/cursor.h Fri May 24 20:26:00 1996
***************
*** 1,6 ****
--- 1,10 ----
#ifndef __cursor__
#define __cursor__
+ #ifdef __GNUG__
+ #pragma interface
+ #endif
+
/***********/
/* */
/* Cursor */
***************
*** 28,32 ****
--- 32,40 ----
Node *curr;
}; /* end class ClassOnecursor */
+
+ #ifdef __GNUG__
+ #include <cursor.cc>
+ #endif
#endif
diff -c -r /usr/local/epics.old/extensions/templates/List/list.cc List/list.cc
*** /usr/local/epics.old/extensions/templates/List/list.cc Wed Sep 20 23:32:05 1995
--- List/list.cc Fri May 24 20:21:37 1996
***************
*** 1,3 ****
--- 1,7 ----
+ #ifdef __GNUG__
+ #pragma implementation
+ #endif
+
#include <stdio.h> /* for NULL */
#include "list.h"
diff -c -r /usr/local/epics.old/extensions/templates/List/list.h List/list.h
*** /usr/local/epics.old/extensions/templates/List/list.h Wed Sep 20 23:32:04 1995
--- List/list.h Fri May 24 20:24:44 1996
***************
*** 1,6 ****
--- 1,10 ----
#ifndef __list__
#define __list__
+ #ifdef __GNUG__
+ #pragma interface
+ #endif
+
#include <stdio.h> /* for NULL */
class Node;
***************
*** 47,51 ****
--- 51,59 ----
/* destroyed it not only deletes */
/* its nodes, but the objects also */
};
+
+ #ifdef __GNUG__
+ #include <list.cc>
+ #endif
#endif
diff -c -r /usr/local/epics.old/extensions/templates/List/node.h List/node.h
*** /usr/local/epics.old/extensions/templates/List/node.h Wed Sep 20 23:32:04 1995
--- List/node.h Fri May 24 20:18:07 1996
***************
*** 1,6 ****
--- 1,10 ----
#ifndef __node__
#define __node__
+ #ifdef __GNUG__
+ #pragma interface
+ #endif
+
/********/
/* */
/* Node */
- Navigate by Date:
- Prev:
CA questions Andrew Johnson
- Next:
Re: CA questions Jeff Hill
- 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: CA questions Jeff Hill
- Next:
Re: MC 68060 FP Math Performance Jeff Hill
- 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
|