FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2017
    Location
    USA
    Posts
    31

    Error when compiling FreeFileSync 9.9 on Fedora 27

    Trying to compile FreeFileSync from its source code. Traditionally I've always had to make it use gtk3 instead of gtk2. I never successfully compiled it against gtk2. I don't know if that is related. Hopefully I'll get some time this week to try the whole set against gtk2.

    The problem I am facing now seems to be inside a library provided by webkitgtk4-devel-2.18.6-1.fc27.x86_64.

    Code:
    //usr/lib64/libwebkit2gtk-4.0.so.37: undefined reference to `__divmodti4@GCC_7.0.0'
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:106: FreeFileSync] Error 1
    I've searched and search and couldn't find anything on the Internet that helps me understand what I need to do (install, modify, etc.) to get this project to compile. If anyone here can help me with this error, please let me know!

    Links
    https://www.freefilesync.org/forum/v...p=17064#p17064

  2. #2
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    2,922

    Re: Error when compiling FreeFileSync 9.9 on Fedora 27

    The missing symbol would appear to be from libgcc. Judging by the name, gcc version 7

    Are you compiling with gcc, and what version ?

  3. #3
    Join Date
    Dec 2017
    Location
    USA
    Posts
    31

    Re: Error when compiling FreeFileSync 9.9 on Fedora 27

    Yes, I'm using the stock gcc.

    Code:
    $ dnf list installed \*gcc\*
    Installed Packages
    gcc.x86_64                           7.3.1-5.fc27                @updates
    gcc-c++.x86_64                       7.3.1-5.fc27                @updates
    gcc-gdb-plugin.x86_64                7.3.1-5.fc27                @updates
    gcc49.x86_64                         4.9.3-2                     @davidva-gcc49       
    gcc53.x86_64                         5.3.0-2                     @davidva-gcc53       
    libgcc.i686                          7.3.1-5.fc27                @updates
    libgcc.x86_64                        7.3.1-5.fc27                @updates
    $ g++ --version
    g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    More searching online shows the "divmodti4" expression here:
    https://github.com/gcc-mirror/gcc/bl...pu/divmodti4.c
    https://github.com/gcc-mirror/gcc/se...utf8=%E2%9C%93

    But I don't know what those mean, or how I can use them (or modify them) to make usable for me. I don't dare say that something in gcc is incorrect! I don't know the first thing about gcc; I don't really even understand the projects I compile. I'm just a tinkerer.

  4. #4
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    2,922

    Re: Error when compiling FreeFileSync 9.9 on Fedora 27

    Those links seem to refer to an SPU architecture - which I believe to be the Cell processor in a PS3 - is that what you are working with ?

    It seems that this function is one that is automatically generated by the compiler depending on the (un)availability of some hardware functionality in the CPU.
    This link provides some background: https://patchwork.ozlabs.org/patch/689344/

    I am a long way out of my depth here, but my guess is that the libraries might have been built with different architectures specified.

  5. #5
    Join Date
    Dec 2017
    Location
    USA
    Posts
    31

    Re: Error when compiling FreeFileSync 9.9 on Fedora 27

    To summarize, no, I am not working on a PS3. I am working on a kvm/qemu virtual machine running Fedora 27 x86_64 on a CentOS7 HP Elite 8200 small form factor.
    Code:
    fc27c-01a$ lscpu
    Architecture:        x86_64
    CPU op-mode(s):      32-bit, 64-bit
    Byte Order:          Little Endian
    CPU(s):              3
    On-line CPU(s) list: 0-2
    Thread(s) per core:  1
    Core(s) per socket:  1
    Socket(s):           3
    NUMA node(s):        1
    Vendor ID:           GenuineIntel
    CPU family:          6
    Model:               42
    Model name:          Intel Xeon E312xx (Sandy Bridge)
    Stepping:            1
    CPU MHz:             3292.518
    BogoMIPS:            6585.03
    Hypervisor vendor:   KVM
    Virtualization type: full
    L1d cache:           32K
    L1i cache:           32K
    L2 cache:            4096K
    NUMA node0 CPU(s):   0-2
    Flags:               fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl cpuid pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm pti xsaveopt
    And the host machine:
    Code:
    vmhost1$ lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                4
    On-line CPU(s) list:   0-3
    Thread(s) per core:    1
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 42
    Model name:            Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
    Stepping:              7
    CPU MHz:               1630.535
    CPU max MHz:           3700.0000
    CPU min MHz:           1600.0000
    BogoMIPS:              6585.38
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              6144K
    NUMA node0 CPU(s):     0-3
    Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
    I didn't realize I had the libgcc.i686 installed. I might try removing that to see if that results in progress.

  6. #6
    Join Date
    Dec 2017
    Location
    USA
    Posts
    31

    Re: Error when compiling FreeFileSync 9.9 on Fedora 27

    I ended up ruining that vm due to other activity (qemu-img cannot perform operations on qcow2 files in use, or that have snapshots...). On a second vm, the FreeFileSync package compiles just fine. I guess that vm had some weird package set or virtual hardware setup.

Similar Threads

  1. [SOLVED]
    How to install FreeFileSync on fedora 21
    By hugodaniel in forum Using Fedora
    Replies: 2
    Last Post: 27th October 2015, 08:23 PM
  2. Error while compiling kernel on fedora
    By akshaysulakhe in forum Using Fedora
    Replies: 2
    Last Post: 18th March 2013, 08:58 PM
  3. Problems Compiling Grub In Fedora 7 (configure error)
    By The00Dustin in forum Using Fedora
    Replies: 1
    Last Post: 23rd October 2007, 05:18 PM
  4. compiling error in amarok 1.3.7 in fedora core 4
    By zgerrz in forum Using Fedora
    Replies: 22
    Last Post: 28th December 2005, 04:31 PM
  5. Replies: 7
    Last Post: 17th December 2004, 01:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •