--- Log opened Tue Jan 04 00:01:00 2022 |
01:03 | | gizmore|2 [kvirc@Nightstar-rb1u8g.dip0.t-ipconnect.de] has joined #code |
01:04 | | Degi_ [Degi@Nightstar-u2o88u.pool.telefonica.de] has joined #code |
01:04 | | Degi [Degi@Nightstar-vc054p.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
01:04 | | Degi_ is now known as Degi |
01:06 | | gizmore [kvirc@Nightstar-7ej7h6.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
05:02 | | Degi [Degi@Nightstar-u2o88u.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
05:06 | | Degi [Degi@Nightstar-34hfav.pool.telefonica.de] has joined #code |
06:31 | | Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code |
06:31 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
11:06 | | catalyst_ [catalyst@Nightstar-0n7qa5.dab.02.net] has joined #code |
11:09 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
12:26 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
12:29 | | catalyst_ [catalyst@Nightstar-0n7qa5.dab.02.net] has quit [Connection closed] |
13:39 | | abudhabi__ [abudhabi@Nightstar-p8ivaj.adsl.tpnet.pl] has joined #code |
13:39 | < abudhabi__> | Is mature optimization when the client is shouting at you for application being slow? |
15:00 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:00 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:06 | | catalyst_ [catalyst@Nightstar-m6osbl.dab.02.net] has joined #code |
15:08 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
15:21 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
15:21 | | Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
15:22 | | catalyst_ [catalyst@Nightstar-m6osbl.dab.02.net] has quit [Ping timeout: 121 seconds] |
17:09 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
--- Log closed Tue Jan 04 17:34:37 2022 |
--- Log opened Tue Jan 04 17:34:52 2022 |
17:34 | | TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code |
17:34 | | Irssi: #code: Total of 30 nicks [18 ops, 0 halfops, 0 voices, 12 normal] |
17:34 | | mode/#code [+o TheWatcher] by ChanServ |
17:35 | | Irssi: Join to #code was synced in 14 secs |
19:10 | | Degi [Degi@Nightstar-34hfav.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
19:12 | | Degi [Degi@Nightstar-4d0sln.pool.telefonica.de] has joined #code |
19:40 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed] |
19:43 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
19:43 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
19:43 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed] |
21:26 | | Alek [Alek@Nightstar-06ca3p.il.comcast.net] has quit [Ping timeout: 121 seconds] |
21:29 | | Alek [Alek@Nightstar-06ca3p.il.comcast.net] has joined #code |
22:18 | <&[R]> | I'm trying to link a program against a .a library, but it's puking out a ton of "undefined reference" errors to all the functions the .a provides. What can I do to try and debug this? |
22:19 | <&McMartin> | If C++: Make sure that this .a isn't a C library that isn't doing extern "C" when linked in C++ code |
22:19 | <&[R]> | It's C against C |
22:20 | <&McMartin> | This is probably an argument order thing. Try putting the -lwhatever at the very end. |
22:20 | <&[R]> | $ ncat termbin.com 9999 < Makefile |
22:20 | <&[R]> | https://termbin.com/spmm |
22:21 | <&[R]> | Hmm, manually running the cc line with the -lixp at the end does actually fix it |
22:21 | <&McMartin> | Yep, it's that |
22:22 | <&McMartin> | I'm still a little bit loopy right now, but I believe the rule is that symbols in a library are only visible to linkage units earlier than it on the cmdline |
22:22 | <&[R]> | Fuuun |
22:23 | <&[R]> | So I'll have to have a more robust Makefile then |
22:31 | <&McMartin> | Laziest thing that is usually the simplest way to do this is to split LDFLAGS and LIBS and put LDFLAGS at the front and LIBS at the end. |
22:31 | <&McMartin> | At least they're .a files though. |
22:31 | <&McMartin> | .so files are a special hell, especially if you're hoping to ship or deploy binary blobs |
23:48 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
--- Log closed Wed Jan 05 00:00:46 2022 |