OSS does not build
by unInstance from LinuxQuestions.org on (#53VKP)
I am on SlackWare -current 5.4.42
OSS slackbuild fails with the following message:
Code:ossdetect.c:555:31: warning: implicit declaration of function makedev' [-Wimplicit-function-declaration]
555 | if (mknod (dev, node_m, makedev (major, minor)) == -1)
| ^~~~~~~
cc -O2 -O -O -O -O -s -o ../../../target/sbin/ossdetect ./ossdetect.o
/usr/bin/ld: ./ossdetect.o: in function `main':
ossdetect.c:(.text+0xde5): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:34: ../../../target/sbin/ossdetect] Error 1
make[3]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd/Linux/ossdetect'
make[2]: *** [../../make.defs:11: subdirs] Error 1
make[2]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd/Linux'
make[1]: *** [../make.defs:11: subdirs] Error 1
make[1]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd'
make: *** [make.defs:11: subdirs] Error 1OSS from the source repository fails to build with the following messages:
Code:envy24_tdif.c:(.text+0xe10): multiple definition of `__outw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb40): first defined here
ld: ./envy24_tdif.o: in function `__outl':
envy24_tdif.c:(.text+0xe20): multiple definition of `__outl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb50): first defined here
ld: ./oss_envy24.o: in function `__inb':
oss_envy24.c:(.text+0x5ee0): multiple definition of `__inb'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb00): first defined here
ld: ./oss_envy24.o: in function `__inw':
oss_envy24.c:(.text+0x5ef0): multiple definition of `__inw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb10): first defined here
ld: ./oss_envy24.o: in function `__inl':
oss_envy24.c:(.text+0x5f00): multiple definition of `__inl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb20): first defined here
ld: ./oss_envy24.o: in function `__outb':
oss_envy24.c:(.text+0x5f10): multiple definition of `__outb'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb30): first defined here
ld: ./oss_envy24.o: in function `__outw':
oss_envy24.c:(.text+0x5f20): multiple definition of `__outw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb40): first defined here
ld: ./oss_envy24.o: in function `__outl':
oss_envy24.c:(.text+0x5f30): multiple definition of `__outl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb50): first defined here
make[3]: *** [Makefile:33: ../../../target/modules/oss_envy24.o] Error 1
make[3]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel/drv/oss_envy24'
make[2]: *** [../../make.defs:11: subdirs] Error 1
make[2]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel/drv'
make[1]: *** [../make.defs:11: subdirs] Error 1
make[1]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel'
make: *** [make.defs:11: subdirs] Error 1


OSS slackbuild fails with the following message:
Code:ossdetect.c:555:31: warning: implicit declaration of function makedev' [-Wimplicit-function-declaration]
555 | if (mknod (dev, node_m, makedev (major, minor)) == -1)
| ^~~~~~~
cc -O2 -O -O -O -O -s -o ../../../target/sbin/ossdetect ./ossdetect.o
/usr/bin/ld: ./ossdetect.o: in function `main':
ossdetect.c:(.text+0xde5): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:34: ../../../target/sbin/ossdetect] Error 1
make[3]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd/Linux/ossdetect'
make[2]: *** [../../make.defs:11: subdirs] Error 1
make[2]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd/Linux'
make[1]: *** [../make.defs:11: subdirs] Error 1
make[1]: Leaving directory '/tmp/SBo/oss-v4.2-build2011-src-gpl/build/os_cmd'
make: *** [make.defs:11: subdirs] Error 1OSS from the source repository fails to build with the following messages:
Code:envy24_tdif.c:(.text+0xe10): multiple definition of `__outw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb40): first defined here
ld: ./envy24_tdif.o: in function `__outl':
envy24_tdif.c:(.text+0xe20): multiple definition of `__outl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb50): first defined here
ld: ./oss_envy24.o: in function `__inb':
oss_envy24.c:(.text+0x5ee0): multiple definition of `__inb'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb00): first defined here
ld: ./oss_envy24.o: in function `__inw':
oss_envy24.c:(.text+0x5ef0): multiple definition of `__inw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb10): first defined here
ld: ./oss_envy24.o: in function `__inl':
oss_envy24.c:(.text+0x5f00): multiple definition of `__inl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb20): first defined here
ld: ./oss_envy24.o: in function `__outb':
oss_envy24.c:(.text+0x5f10): multiple definition of `__outb'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb30): first defined here
ld: ./oss_envy24.o: in function `__outw':
oss_envy24.c:(.text+0x5f20): multiple definition of `__outw'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb40): first defined here
ld: ./oss_envy24.o: in function `__outl':
oss_envy24.c:(.text+0x5f30): multiple definition of `__outl'; ./envy24_1010lt.o:envy24_1010lt.c:(.text+0xb50): first defined here
make[3]: *** [Makefile:33: ../../../target/modules/oss_envy24.o] Error 1
make[3]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel/drv/oss_envy24'
make[2]: *** [../../make.defs:11: subdirs] Error 1
make[2]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel/drv'
make[1]: *** [../make.defs:11: subdirs] Error 1
make[1]: Leaving directory '/home/uninstance/Documents/builds/oss/kernel'
make: *** [make.defs:11: subdirs] Error 1