[go: up one dir, main page]

Menu

#344 Can't Make in Ubuntu 22.04 -

PeerGuardian_Linux
open
nobody
None
5
2024-07-11
2022-10-21
Eric
No

PeerGuardian Linux does not make on Ubuntu 22.04:

Configure command works fine.

# make
make  all-recursive
make[1]: Entering directory '/root/Downloads/pgl-2.3.1'
Making all in docs
make[2]: Entering directory '/root/Downloads/pgl-2.3.1/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/docs'
Making all in pglcmd
make[2]: Entering directory '/root/Downloads/pgl-2.3.1/pglcmd'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/pglcmd'
Making all in pgld
make[2]: Entering directory '/root/Downloads/pgl-2.3.1/pgld'
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o pgld src/pgld.o sr                                            c/stream.o src/blocklist.o src/parser.o -lnetfilter_queue -lnfnetlink -lz
libtool: link: gcc -g -O2 -o pgld src/pgld.o src/stream.o src/blocklist.o src/pa                                            rser.o  -lnetfilter_queue -lnfnetlink -lz
/usr/bin/ld: src/stream.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: mul                                            tiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/src/b                                            locklist.h:77: first defined here
/usr/bin/ld: src/blocklist.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77:                                             multiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/sr                                            c/blocklist.h:77: first defined here
/usr/bin/ld: src/parser.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: mul                                            tiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/src/b                                            locklist.h:77: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:554: pgld] Error 1
make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/pgld'
make[1]: *** [Makefile:549: all-recursive] Error 1
make[1]: Leaving directory '/root/Downloads/pgl-2.3.1'
make: *** [Makefile:460: all] Error 2

Any fix?

Discussion

  • Eric

    Eric - 2022-10-21

    Sorry, here is the full output in proper format:

    make
    make  all-recursive
    make[1]: Entering directory '/root/Downloads/pgl-2.3.1'
    Making all in docs
    make[2]: Entering directory '/root/Downloads/pgl-2.3.1/docs'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/docs'
    Making all in pglcmd
    make[2]: Entering directory '/root/Downloads/pgl-2.3.1/pglcmd'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/pglcmd'
    Making all in pgld
    make[2]: Entering directory '/root/Downloads/pgl-2.3.1/pgld'
    /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o pgld src/pgld.o src/stream.o src/blocklist.o src/parser.o -lnetfilter_queue -lnfnetlink -lz
    libtool: link: gcc -g -O2 -o pgld src/pgld.o src/stream.o src/blocklist.o src/parser.o  -lnetfilter_queue -lnfnetlink -lz
    /usr/bin/ld: src/stream.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: multiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: first defined here
    /usr/bin/ld: src/blocklist.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: multiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: first defined here
    /usr/bin/ld: src/parser.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: multiple definition of `blocklist'; src/pgld.o:/root/Downloads/pgl-2.3.1/pgld/src/blocklist.h:77: first defined here
    collect2: error: ld returned 1 exit status
    make[2]: *** [Makefile:554: pgld] Error 1
    make[2]: Leaving directory '/root/Downloads/pgl-2.3.1/pgld'
    make[1]: *** [Makefile:549: all-recursive] Error 1
    make[1]: Leaving directory '/root/Downloads/pgl-2.3.1'
    make: *** [Makefile:460: all] Error 2
    
     
  • jre-phoenix

    jre-phoenix - 2024-07-11
    • Group: PeerGuardian_2_Win --> PeerGuardian_Linux
     

Log in to post a comment.