Hmm, also getting the following error now, building with release PIke-4.0.498:



Linking Fuse
/usr/lib64/libc_nonshared.a(atexit.oS): In function `atexit':
(.text+0x3): undefined reference to `__dso_handle'
/usr/bin/ld: /usr/lib64/libc_nonshared.a(atexit.oS): relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Linking failed:



Looking for fix for this myself, wondering if anyone has encountered this before.

I am on Fedora 28, wondering if something is up with that release.


On Thursday, May 10, 2018, 8:56:45 PM EDT, Lance Dillon <riffraff169@yahoo.com> wrote:


Also, trying to build pike from git, but keep getting:



precompile: /home/riffraff/src/pike-git/src/build/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/riffraff/src/pike-git/src/build/master.pike  /home/riffraff/src/pike-git/bin/make_interpret_functions.pike /home/riffraff/src/pike-git/src/interpret_functions.h (method=Q)
./precompile.sh: line 135: /home/riffraff/src/pike-git/src/build/pike: No such file or directory

On Thursday, May 10, 2018, 8:44:02 PM EDT, Lance Dillon <riffraff169@yahoo.com> wrote:



Hmm, has to be something with me.   I checked out a whole new copy of the repo, and make is working.....maybe some artifacts left over?  But make distclean isn't cleaning it out.  What should I use?


On Thursday, May 10, 2018, 8:31:53 PM EDT, Lance Dillon <riffraff169@yahoo.com> wrote:


So trying to build pike 8.0 from git, and got an error about Msql:

=== configuring in Msql (/home/riffraff/src/pike/8.0/pike/build/linux-4.16.6-302.fc28.x86_64-x86_64/modules/Msql)
configure: running /bin/bash -norc /home/riffraff/src/pike/8.0/pike/src/modules/Msql/configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=/home/riffraff/src/pike/8.0/pike/src/modules/Msql
configure: error: cannot find sources (msqlmod.cmod) in /home/riffraff/src/pike/8.0/pike/src/modules/Msql
configure: error: /home/riffraff/src/pike/8.0/pike/src/modules/Msql/configure failed for Msql
configure: error: /home/riffraff/src/pike/8.0/pike/src/modules/configure failed for modules


ll Msql/
total 52
-rw-rw-r--. 1 riffraff riffraff   403 May 10 20:22 acconfig.h
-rw-rw-r--. 1 riffraff riffraff  2948 May 10 20:22 configure.in
-rw-rw-r--. 1 riffraff riffraff   187 May 10 20:22 Makefile.in
-rw-rw-r--. 1 riffraff riffraff 29556 May 10 20:22 msqlmod.c
-rwxrwxr-x. 1 riffraff riffraff   824 May 10 20:22 test_msqlmod.pike
-rw-rw-r--. 1 riffraff riffraff     0 May 10 20:22 testsuite.in
-rw-rw-r--. 1 riffraff riffraff   334 May 10 20:22 version.h



Before build attempt:

$ pwd
/home/riffraff/src/pike/8.0/pike/src/modules/Msql
? ~/src/pike/8.0/pike/src/modules/Msql [8.0|?19]
20:26 $ grep cmod *

After (make distclean && make):

ll
total 220
-rw-rw-r--. 1 riffraff riffraff    403 May 10 20:26 acconfig.h
-rwxrwxr-x. 1 riffraff riffraff 160015 May 10 20:27 configure
-rw-rw-r--. 1 riffraff riffraff   2948 May 10 20:26 configure.in
-rw-rw-r--. 1 riffraff riffraff      0 May 10 20:27 dependencies
-rw-rw-r--. 1 riffraff riffraff    187 May 10 20:26 Makefile.in
-rw-rw-r--. 1 riffraff riffraff   2236 May 10 20:27 msql_config.h.in
-rw-rw-r--. 1 riffraff riffraff  29556 May 10 20:26 msqlmod.c
-rw-rw-r--. 1 riffraff riffraff      4 May 10 20:27 stamp-h.in
-rwxrwxr-x. 1 riffraff riffraff    824 May 10 20:26 test_msqlmod.pike
-rw-rw-r--. 1 riffraff riffraff      0 May 10 20:26 testsuite.in
-rw-rw-r--. 1 riffraff riffraff    334 May 10 20:26 version.h
? ~/src/pike/8.0/pike/src/modules/Msql [8.0|?19]
20:28 $ grep cmod *
configure:  PMOD_TARGETS=`echo $srcdir/*.cmod | sed -e "s/\.cmod/\.c/g" | sed -e "s|$srcdir/|\\$(SRCDIR)/|g"`

So something in the build is creating configure so that it looks for *.cmod, and fails.

However, I just now encountered that after I removed Msql, I had the same problem with Mysql

Hmm, maybe it is me?  Is there something I'm doing wrong?  I've done this before in the past and haven't had this problem before.