• OpenDoor build failed

    From Ragnarok@VERT/DOCKSUD to All on Monday, December 03, 2018 01:41:00
    i try to build a simple opendoors
    but i have error about to find xpdev

    root@scarlet:/sbbs/src/odoors# LANG=us make
    gcc -fPIC -fPIC -O2 -Llibs-Linux/ -I../xpdev -Wall -DHAS_INTTYPES_H -shared -L../xpdev/gcc.linux.lib.release ex_ski.c -o exe-Linux/ex_ski -lODoors -lxpdev /usr/bin/ld: cannot find -lxpdev
    collect2: error: ld returned 1 exit status
    GNUmakefile:209: recipe for target 'exe-Linux/ex_ski' failed
    make: *** [exe-Linux/ex_ski] Error 1

    any idea?
    ---
    Dock sud BBS
    http://www.docksud.com.ar
    Synchronet Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Monday, December 03, 2018 05:32:00
    Re: OpenDoor build failed
    By: Ragnarok to All on Sun Dec 02 2018 05:41 pm

    i try to build a simple opendoors
    but i have error about to find xpdev

    root@scarlet:/sbbs/src/odoors# LANG=us make
    gcc -fPIC -fPIC -O2 -Llibs-Linux/ -I../xpdev -Wall -DHAS_INTTYPES_H -shared -L../xpdev/gcc.linux.lib.release ex_ski.c -o exe-Linux/ex_ski -lODoors -lxpdev /usr/bin/ld: cannot find -lxpdev
    collect2: error: ld returned 1 exit status
    GNUmakefile:209: recipe for target 'exe-Linux/ex_ski' failed
    make: *** [exe-Linux/ex_ski] Error 1

    any idea?

    Does the file ../xpdev/gcc.linux.lib.release/libxpdev.a exist? If not, run 'make RELEASE=1' in src/xpdev first.

    digital man

    Synchronet "Real Fact" #65:
    Synchronet can dynamically compress and uncompress message bases (using LZH). Norco, CA WX: 51.2F, 64.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Monday, December 03, 2018 13:22:00
    Re: OpenDoor build failed
    By: Digital Man to Ragnarok on Sun Dec 02 2018 21:32:43

    Re: OpenDoor build failed
    By: Ragnarok to All on Sun Dec 02 2018 05:41 pm

    i try to build a simple opendoors
    but i have error about to find xpdev

    root@scarlet:/sbbs/src/odoors# LANG=us make
    gcc -fPIC -fPIC -O2 -Llibs-Linux/ -I../xpdev -Wall -DHAS_INTTYPES_H -shared -L../xpdev/gcc.linux.lib.release ex_ski.c -o exe-Linux/ex_ski -lODoors -lxpdev /usr/bin/ld: cannot find -lxpdev
    collect2: error: ld returned 1 exit status
    GNUmakefile:209: recipe for target 'exe-Linux/ex_ski' failed
    make: *** [exe-Linux/ex_ski] Error 1

    any idea?

    Does the file ../xpdev/gcc.linux.lib.release/libxpdev.a exist? If not, run 'make RELEASE=1' in src/xpdev first.

    thanks!!!
    i think that is a path issue, the build dir for xpdev are gcc.linux.x64.lib.release, it miss the architecture part "x64" in the GNUmakefile at LDFLAGS (link flags)




    Ragnarok
    ---
    Dock sud BBS
    http://bbs.docksud.com.ar
    Synchronet Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar