From owner-freebsd-questions@freebsd.org Fri Dec 14 02:21:24 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8202130A9F6 for ; Fri, 14 Dec 2018 02:21:23 +0000 (UTC) (envelope-from srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 316C284DFB for ; Fri, 14 Dec 2018 02:21:23 +0000 (UTC) (envelope-from srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 43GDn7364Hz2fjQW for ; Thu, 13 Dec 2018 18:21:15 -0800 (PST) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: FreeBSD 12.0 Message-Id: Date: Thu, 13 Dec 2018 18:21:15 -0800 To: freebsd-questions X-Mailer: Apple Mail (2.3445.102.3) X-Virus-Scanned: clamav-milter 0.100.1 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 316C284DFB X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [1.71 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.19)[0.187,0]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.95)[0.950,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.02)[country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[sermon-archive.info]; RCVD_IN_DNSWL_NONE(0.00)[148.216.177.71.list.dnswl.org : 127.0.10.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2018 02:21:24 -0000 Now that it is released, I setup a spare machine and installed it. The = installation went fine. However, all my applications need to be = recompiled and tested. The first problem I encountered was that ld = couldn't find the BIO_ symbols. Apparently they have moved to = libcrypto. I found no notice of that change in UPDATING. Adding = lcrypto to the ld command fixed that. However, none of the programs = run. They all build correctly, but immediately exit with an error: ld-elf.so.1: Undefined symbol "sock" referenced from COPY relocation in = /usr/local/RSS/src/check_db These programs all compile and run on 11.0 and 11.1. They are in = production on 11.1. There is a project shared library (librss) that has an integer "sock" = defined at the top level. It is referenced in check_db. Here is a = reduced version of the code: rss.c _____________________ #include rss.h int sock void initialize () { sock =3D 3; } _____________________ rss.h: _____________________ extern sock void initialize (); _____________________ check_db.c _____________________ #include rss.h int main (int argc, char *argv[]) { initialize (); } _____________________ Makefile: _____________________ rss: rss.c rss.h $(CC) -fPIC -c -Wall rss.c -I/usr/local/include -L/usr/local/lib = -lrss=20 $(CC) -shared -W1,-soname,librss.so -o librss.so rss.o=20 check_db: check_db.c $(CC) -o check_db check_db.c -I/usr/local/include = -L/usr/local/lib -lrss=20 It is interesting that there are a number of other variables defined = like sock. It doesn't complain about any others, but perhaps that's the = first one it encounters. Has something changed with respect to global = variables? I find no indications of that in UPDATING. -- Doug