<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4472" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: undefined reference to &#039;_variable&#039;</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4472</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>undefined reference to &#039;_variable&#039;</title>
   <link>https://smaugmuds.afkmods.com/topic/undefined-reference-to-variable-4472/&amp;p=21029#p21029</link>
   <description>Not surprisingly, the error was exactly what the compiler had said. [quote=[url=http://www.mudbytes.net/index.php?a=topic&amp;amp;t=3160&amp;amp;p=52080#p52080]Tyche[/url]]All I see is a declaration of last_col.  You don&#039;t define last_col anywhere in your program.  Maybe this page will help: [url=http://sourcery.dyndns.org/wiki.cgi?TutorialFunctionDeclarationsAndDefinitions]TutorialFunctionDeclarationsAndDefinitions[/url] What &amp;quot;extern char last_col[2];&amp;quot; means to the compiler is that there exists a var</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/undefined-reference-to-variable-4472/&amp;p=21029#p21029</guid>
   <pubDate>Thu, 21 Oct 2010 21:40:36 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (bobo the bee)</author>
  </item>
  <item>
   <title>undefined reference to &#039;_variable&#039;</title>
   <link>https://smaugmuds.afkmods.com/topic/undefined-reference-to-variable-4472/&amp;p=21028#p21028</link>
   <description>(Also seen on [url=http://www.mudbytes.net/index.php?a=topic&amp;amp;t=3160&amp;amp;p=52073#p52073]MudBytes.net[/url]) So, in trying to add a new global variable to keep track of the last color used by the MUD, but I&#039;ve run into a bit of an issue. The code itself compiles, up until the very end when I receive this error message: [code]$make -s smaug Compiling o/color.o.... o/color.o: In function `_Z11set_lastcolPc&#039;: .../quarulid/src/color.c:1878: undefined reference to `_last_col&#039; .../quarulid/src/c</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/undefined-reference-to-variable-4472/&amp;p=21028#p21028</guid>
   <pubDate>Thu, 21 Oct 2010 19:40:23 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (bobo the bee)</author>
  </item>
 </channel>
</rss>
