Skip to content

Compilation fails #5

@toto112358

Description

@toto112358

Running make install
install: cannot stat 'libc_p9.so.1.0.1': No such file or directory
Running make

t20.c:34:2: warning: implicit declaration of function ‘USED’ [-Wimplicit-function-declaration]
   34 |  USED(name);
      |  ^~~~
cc  -I../../../include -DTMACDIR='"/usr/local/p9roff/lib/tmac"' -DFONTDIR='"/usr/local/p9roff/lib/troff/font"' -DBINDIR='"/usr/local/p9roff/bin"'  -c -o util.o util.c
cc -o htmlroff char.o html.o input.o main.o roff.o t1.o t2.o t3.o t4.o t5.o t6.o t7.o t8.o t10.o t11.o t13.o t14.o t15.o t16.o t17.o t18.o t19.o t20.o util.o -L../../../../libcompat      -lcompat -L../../../../sys/src/libc   -lc_p9 -L../../../../sys/src/libbio -lbio -L/usr/local/p9roff/lib -Wl,-rpath,/usr/local/p9roff/lib
/usr/bin/ld: html.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: input.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: main.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: roff.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t1.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t2.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t3.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t4.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t5.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t6.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t7.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t8.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t10.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t11.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t13.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t14.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t15.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t16.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t16.o:(.bss+0x20): multiple definition of `iftrue'; roff.o:(.bss+0x1200): first defined here
/usr/bin/ld: t16.o:(.bss+0x70): multiple definition of `niftrue'; roff.o:(.bss+0x1250): first defined here
/usr/bin/ld: t17.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t18.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t19.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: t20.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
/usr/bin/ld: util.o:(.bss+0x0): multiple definition of `outcb'; char.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [mkfile:38: htmlroff] Error 1
make[4]: Leaving directory '/home/luca/Plan9_troff/sys/src/cmd/htmlroff'
make[3]: *** [mkfile:25: all] Error 2
make[3]: Leaving directory '/home/luca/Plan9_troff/sys/src/cmd'
make[2]: *** [mkfile:11: all] Error 2
make[2]: Leaving directory '/home/luca/Plan9_troff/sys/src'
make[1]: *** [mkfile:11: all] Error 2
make[1]: Leaving directory '/home/luca/Plan9_troff/sys'
make: *** [Makefile:27: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions