<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Modest Destiny (Posts about Bash)</title><link>https://blog.modest-destiny.com/</link><description></description><atom:link href="https://blog.modest-destiny.com/categories/bash.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2021 Adam Basfop Cavendish </copyright><lastBuildDate>Mon, 22 Mar 2021 08:19:52 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>"Undefined reference to ..." How can I find the library to link to?</title><link>https://blog.modest-destiny.com/posts/undefined-reference-to-how-can-i-find-the-library-to-link-to/</link><dc:creator>Adam Basfop Cavendish</dc:creator><description>&lt;div&gt;&lt;p&gt;The most panicking error among all the make errors is the &lt;code&gt;undefined reference&lt;/code&gt; error, which is mostly cause by an unlinked library.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.modest-destiny.com/posts/undefined-reference-to-how-can-i-find-the-library-to-link-to/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Bash</category><category>C</category><category>C++</category><guid>https://blog.modest-destiny.com/posts/undefined-reference-to-how-can-i-find-the-library-to-link-to/</guid><pubDate>Tue, 12 May 2015 04:00:21 GMT</pubDate></item><item><title>GCC build with strange errors</title><link>https://blog.modest-destiny.com/posts/gcc-build-with-strange-errors/</link><dc:creator>Adam Basfop Cavendish</dc:creator><description>&lt;div&gt;&lt;h2&gt;GCC Build With Strange Errors&lt;/h2&gt;
&lt;p&gt;I have been fighting with these strange errors for some days, and finally I got it.&lt;/p&gt;
&lt;h3&gt;Problem&lt;/h3&gt;
&lt;p&gt;The core problem is that my &lt;code&gt;C_INCLUDE_PATH&lt;/code&gt; and &lt;code&gt;CPLUS_INCLUDE_PATH&lt;/code&gt; ends with a colon. Path ending with a colon will include current path, aka &lt;code&gt;./&lt;/code&gt; which caused the error.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.modest-destiny.com/posts/gcc-build-with-strange-errors/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Bash</category><category>Linux</category><guid>https://blog.modest-destiny.com/posts/gcc-build-with-strange-errors/</guid><pubDate>Sun, 30 Nov 2014 04:00:44 GMT</pubDate></item></channel></rss>