<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qlprint/Makefile, branch fixes</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/qlprint/'/>
<entry>
<title>add `make fixstyle`</title>
<updated>2023-07-10T19:53:57+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>ast@2e8.dk</email>
</author>
<published>2023-07-08T22:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/qlprint/commit/?id=5a72605339cbb275277be76d1259589137d5db6b'/>
<id>5a72605339cbb275277be76d1259589137d5db6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: fix undefined references</title>
<updated>2023-07-10T19:51:28+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>ast@2e8.dk</email>
</author>
<published>2023-07-08T22:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/qlprint/commit/?id=84feb345eaf2a73abe4d1f9d2155edc058a8e570'/>
<id>84feb345eaf2a73abe4d1f9d2155edc058a8e570</id>
<content type='text'>
Compiling gives the following error, since the library is specified
before the local objects:

$ make
[…]
cc -lpng16  build/main.o build/ql.o build/loadpng.o -o build/qlprint
/usr/bin/ld: build/loadpng.o: in function `loadpng':
…/src/loadpng.c:30: undefined reference to `png_sig_cmp'
/usr/bin/ld: …/src/loadpng.c:35: undefined reference to `png_create_read_struct'
/usr/bin/ld: …/src/loadpng.c:39: undefined reference to `png_create_info_struct'
/usr/bin/ld: …/src/loadpng.c:43: undefined reference to `png_create_info_struct'
[…]
collect2: error: ld returned 1 exit status
make: *** [Makefile:28: build/qlprint] Error 1

After reordering:

$ make
[…]
cc build/main.o build/ql.o build/loadpng.o -lpng16  -o build/qlprint
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compiling gives the following error, since the library is specified
before the local objects:

$ make
[…]
cc -lpng16  build/main.o build/ql.o build/loadpng.o -o build/qlprint
/usr/bin/ld: build/loadpng.o: in function `loadpng':
…/src/loadpng.c:30: undefined reference to `png_sig_cmp'
/usr/bin/ld: …/src/loadpng.c:35: undefined reference to `png_create_read_struct'
/usr/bin/ld: …/src/loadpng.c:39: undefined reference to `png_create_info_struct'
/usr/bin/ld: …/src/loadpng.c:43: undefined reference to `png_create_info_struct'
[…]
collect2: error: ld returned 1 exit status
make: *** [Makefile:28: build/qlprint] Error 1

After reordering:

$ make
[…]
cc build/main.o build/ql.o build/loadpng.o -lpng16  -o build/qlprint
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial import.</title>
<updated>2017-05-30T07:42:34+00:00</updated>
<author>
<name>Johny Mattsson</name>
<email>jmattsson@dius.com.au</email>
</author>
<published>2017-05-30T07:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/qlprint/commit/?id=55e6f6890acddfd8b415db8f92ebb7ea1a2d4166'/>
<id>55e6f6890acddfd8b415db8f92ebb7ea1a2d4166</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
