[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: RE: [Linux-ha-dev] Changes to checkpointd/test fail on FreeBSD.
From: "Soffen, Matthew" <msoffen () iso-ne ! com>
Date: 2004-07-09 14:33:28
Message-ID: 4A19F19A1BB4D51183220020ED069714075A417C () exch2 ! iso-ne ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
>From postings to the Automake list:
This is a "feature". I'll explain why it exists and what it does;
then we can discuss whether it is really worth keeping.
Certain variable suffixes are considered special by automake. For
instance, _SOURCES (full list as of right now: _SOURCES, _LIBADD,
_LDADD, _LDFLAGS, _DEPENDENCIES). Automake assumes that a variable with
one of these extensions must be attached to some specific program. If
you use one with a prefix that doesn't correspond to a program (e.g.,
"CGAL_LDFLAGS" -- you probably don't have a "CGAL" program), then
automake will print this message.
I'm testing something where I just change the name of the variable from
test_LDADD to something else. If it works, I'll commit the changes.
Matt
-----Original Message-----
From: Pan, Deng [mailto:deng.pan@intel.com]
Sent: Thursday, July 08, 2004 9:40 PM
To: High-Availability Linux Development List
Subject: RE: [Linux-ha-dev] Changes to checkpointd/test fail on FreeBSD.
Because all the test programs will be linked to the same libraries, I
defined a variable test_LDADD so that I do not have to type so many
characters for each test case.
I have no idea what is wrong with it. Is it caused by the variable name
"test_LDADD"? Superstitious :-)
Pan, Deng
-----Original Message-----
From: linux-ha-dev-bounces@lists.linux-ha.org
[mailto:linux-ha-dev-bounces@lists.linux-ha.org] On Behalf Of Soffen,
Matthew
Sent: 2004-7-7 1:33
To: Linux HA Development List (E-mail)
Subject: [Linux-ha-dev] Changes to checkpointd/test fail on FreeBSD.
I'm attempting to run this command on FreeBSD with the latest from CVS Head:
bootstrap --enable-eventd --enable-crm --enable-checkpointd
It returns to me:
aclocal
autoheader
configure.in:16: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:143: warning: AC_PROG_LEX invoked multiple times
configure.in:143: warning: AC_PROG_LEX invoked multiple times
configure.in:1752: warning: do not use m4_regexp: use regexp or m4_bregexp
autoheader: `linux-ha/config.h.in' is unchanged
libtoolize --ltdl --force --copy
automake --add-missing --include-deps
configure.in: 142: `AC_DECL_YYTEXT' is covered by `AM_PROG_LEX'
lib/checkpointd/test/api_test/ckpt_mg/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/api_test/data_access/Makefile.am: invalid unused
variable name: `test_LDADD'
lib/checkpointd/test/api_test/lib_life/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/api_test/sect_mg/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/func_test/active/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/func_test/close/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/func_test/open/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/func_test/overwrite/Makefile.am: invalid unused
variable name: `test_LDADD'
lib/checkpointd/test/func_test/sect_create/Makefile.am: invalid unused
variable name: `test_LDADD'
lib/checkpointd/test/func_test/sect_delete/Makefile.am: invalid unused
variable name: `test_LDADD'
lib/checkpointd/test/func_test/sync/Makefile.am: invalid unused variable
name: `test_LDADD'
lib/checkpointd/test/func_test/write/Makefile.am: invalid unused variable
name: `test_LDADD'
../bootstrap exiting due to error (sorry!).
I'm not sure what changed here. Also, why are we using a "test_LDADD"
instead of the real LDADD variable ?
Matt Soffen - Lead Application Developer
<http://www.iso-ne.com/> http://www.iso-ne.com/
=============================================================
Boss - "My boss says we need some eunuch programmers."
Dilbert- "I think he means UNIX and I already know UNIX."
Boss - "Well, if the company nurse comes by, tell her I said
never mind."
- Dilbert -
=============================================================
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: SimSun;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: SimSun;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: blue; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle18 {
FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: "Courier New"; \
TEXT-DECORATION: none }
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=ZH-CN vLink=blue link=blue>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=910302014-09072004>From
postings to the Automake list: </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=910302014-09072004></SPAN></FONT> </DIV><FONT><SPAN
class=910302014-09072004>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><BR><FONT face=Arial color=#0000ff size=2>This is a "feature". I'll
explain why it exists and what it does;<BR>then we can discuss whether it is
really worth keeping.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>Certain variable suffixes are
considered special by automake. For<BR>instance, _SOURCES (full list as
of right now: _SOURCES, _LIBADD,<BR>_LDADD, _LDFLAGS, _DEPENDENCIES).
Automake assumes that a variable with<BR>one of these extensions must be
attached to some specific program. If<BR>you use one with a prefix that
doesn't correspond to a program (e.g.,<BR>"CGAL_LDFLAGS" -- you probably don't
have a "CGAL" program), then<BR>automake will print this
message.</FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=910302014-09072004><FONT face=Arial color=#0000ff size=2>I'm
testing something where I just change the name of the variable from test_LDADD
to something else. If it works, I'll commit the
changes.</FONT></SPAN></DIV>
<DIV><SPAN class=910302014-09072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=910302014-09072004><FONT face=Arial color=#0000ff
size=2>Matt</FONT></SPAN></DIV>
<DIV><SPAN class=910302014-09072004></SPAN> </DIV>
<DIV></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Pan, Deng
[mailto:deng.pan@intel.com]<BR><B>Sent:</B> Thursday, July 08, 2004 9:40
PM<BR><B>To:</B> High-Availability Linux Development List<BR><B>Subject:</B>
RE: [Linux-ha-dev] Changes to checkpointd/test fail on
FreeBSD.<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">Because all
the test programs will be linked to the same libraries, I defined a variable
test_LDADD so that I do not have to type so many characters for each test
case. </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier \
New'"></SPAN></FONT> </P> <P class=MsoNormal><FONT face="Courier New" \
color=blue size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; \
FONT-FAMILY: 'Courier New'">I have no idea what is wrong with it. Is it caused by \
the variable name "test_LDADD"? Superstitious </SPAN></FONT><FONT face=Wingdings \
color=blue size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Wingdings">J</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier \
New'"></SPAN></FONT> </P> <P class=MsoNormal><FONT face="Courier New" \
color=blue size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; \
FONT-FAMILY: 'Courier New'">Pan, Deng</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier \
New'"></SPAN></FONT> </P> <DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; \
PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: \
0cm; BORDER-BOTTOM: medium none"> <P class=MsoNormal><FONT face=Tahoma size=2><SPAN \
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original
Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
linux-ha-dev-bounces@lists.linux-ha.org
[mailto:linux-ha-dev-bounces@lists.linux-ha.org] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Soffen, Matthew<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 2004-7-7 </SPAN></FONT><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">1:33</SPAN></FONT><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> Linux HA Development List
(E-mail)<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B>
[Linux-ha-dev] Changes to checkpointd/test fail on FreeBSD.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I'm attempting to run this command
on FreeBSD with the latest from CVS Head:</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">bootstrap --enable-eventd
--enable-crm --enable-checkpointd</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">It returns to
me:</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">aclocal<BR>autoheader<BR>configure.in:16: warning: do not use m4_patsubst: \
use patsubst or m4_bpatsubst<BR>configure.in:143: warning: AC_PROG_LEX invoked \
multiple times<BR>configure.in:143: warning: AC_PROG_LEX invoked multiple
times<BR>configure.in:1752: warning: do not use m4_regexp: use regexp or
m4_bregexp<BR>autoheader: `linux-ha/config.h.in' is unchanged<BR>libtoolize
--ltdl --force --copy<BR>automake --add-missing
--include-deps<BR>configure.in: 142: `AC_DECL_YYTEXT' is covered by
`AM_PROG_LEX'<BR>lib/checkpointd/test/api_test/ckpt_mg/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/api_test/data_access/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/api_test/lib_life/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/api_test/sect_mg/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/active/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/close/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/open/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/overwrite/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/sect_create/Makefile.am:
invalid unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/sect_delete/Makefile.am:
invalid unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/sync/Makefile.am: invalid
unused variable name:
`test_LDADD'<BR>lib/checkpointd/test/func_test/write/Makefile.am: invalid
unused variable name: `test_LDADD'</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">../bootstrap exiting due to error
(sorry!).</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I'm not sure what changed
here. Also, why are we using a "test_LDADD" instead of the real LDADD
variable ?</SPAN></FONT></P></DIV>
<P style="MARGIN-BOTTOM: 0pt"><FONT face=Arial color=blue size=2><SPAN
lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Matt
Soffen - Lead Application Developer </SPAN></FONT></P>
<P style="MARGIN-BOTTOM: 0pt"><FONT face="Times New Roman" size=3><SPAN
lang=EN-US style="FONT-SIZE: 12pt"><A href="http://www.iso-ne.com/"
target=_blank><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: \
Arial">http://www.iso-ne.com/</SPAN></FONT></A><FONT color=blue><SPAN style="COLOR: \
blue"> </SPAN></FONT></SPAN></FONT></P> <P style="MARGIN-BOTTOM: 0pt"><FONT \
face="Times New Roman" color=blue size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt; COLOR: \
blue">============================================================= <BR>Boss \
- "My boss says we need some eunuch programmers." <BR>Dilbert- "I think he means \
UNIX and I already know UNIX." <BR>Boss - "Well, if the company nurse comes \
by, tell her I said \
<BR> never \
mind." <BR> & \
nbsp; \
- Dilbert - <BR>=============================================================
</SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic