Problem with compiling on the 3.0 kernel

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

Problem with compiling on the 3.0 kernel

Postby greenvorbisfan » Sun Oct 23, 2011 8:56 am

I have a problem with compiling OSS v4.2-2005 on the Linux Kernel v3.0.x (Xubuntu 11.10). Here's log:
Code: Select all
alexanderfroloff@GreenBox:~$ cd /opt
alexanderfroloff@GreenBox:/opt$ sudo hg clone http://opensound.hg.sourceforge.net:8000/hgroot/opensound/opensound oss-devel
requesting all changes
adding changesets
adding manifests
adding file changes
added 940 changesets with 4261 changes to 1396 files
updating to branch default
885 files updated, 0 files merged, 0 files removed, 0 files unresolved
alexanderfroloff@GreenBox:/opt$ cd ~
alexanderfroloff@GreenBox:~$ sudo rm -rf oss42build
alexanderfroloff@GreenBox:~$ mkdir oss42build
alexanderfroloff@GreenBox:~$ cd oss42build
alexanderfroloff@GreenBox:~/oss42build$ NO_WARNING_CHECKS=yes /opt/oss-devel/configure --enable-libsalsa=NO --config-midi=NO --config-vmix=FIXEDPOINT --only-drv=oss_sblive,oss_hdaudio
Using the Linux specific script
Setting up full REGPARM compiling environment
srcdir=/opt/oss-devel
Source directory is /opt/oss-devel
Build directory is /home/alexanderfroloff/oss42build
Build tree created OK
System: Linux
Release: 3.0.0-13-generic-pae
Machine: i686
Directory depends on the ALSA package which is not available
Directory depends on the SADA package which is not available
Directory depends on the MIDI subsystem which is not enabled
Source configuration OK

Build ID will become 201110230851
for n in lib cmd kernel os_cmd kernel/OS/Linux noregparm;do (cd $n && make dep) || eval 'exit 1'; done
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/lib'
for n in libOSSlib libossmix;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/lib/libOSSlib'
make[2]: Цель `dep' не требует выполнения команд.
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/lib/libOSSlib'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/lib/libossmix'
cc -g ../../utils/ossmkdep.c -o ../../ossmkdep
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/socket.h>
Cannot locate <sys/ioctl.h>
Cannot locate <sys/socket.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/lib/libossmix'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/lib'
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd'
for n in ossdevlinks ossinfo ossmix ossmixd osspartysh ossphone ossplay osstest ossxmix savemixer vmixctl;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossdevlinks'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/stat.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossdevlinks'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossinfo'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/utsname.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossinfo'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossmix'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossmix'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossmixd'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/types.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossmixd'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/osspartysh'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/types.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/osspartysh'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossphone'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/stat.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossphone'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossplay'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <stdarg.h>
Cannot locate <stddef.h>
Cannot locate <stdarg.h>
Cannot locate <stdarg.h>
Cannot locate <sys/ioctl.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossplay'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/osstest'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/time.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/osstest'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossxmix'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <gtk/gtkmain.h>
Cannot locate <gtk/gtk.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossxmix'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/savemixer'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/stat.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/savemixer'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/vmixctl'
rm -f .depend
touch .depend
for n in *.c; do ../../ossmkdep -M -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/stat.h>
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/vmixctl'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd'
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel'
for n in drv framework;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/drv'
for n in oss_hdaudio oss_sblive;do (cd $n && make dep) || eval 'exit 1'; done
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/drv/oss_hdaudio'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/drv/oss_hdaudio'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/drv/oss_sblive'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/drv/oss_sblive'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/drv'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework'
for n in ac97 audio midi_stubs mixer osscore remux sndstat uart401 vmix_core;do (cd $n && make dep) || eval 'exit 1'; done
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/ac97'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/ac97'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/audio'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/audio'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/midi_stubs'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/midi_stubs'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/mixer'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <stdarg.h>
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/mixer'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/osscore'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/osscore'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/remux'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/remux'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/sndstat'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/sndstat'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/uart401'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/uart401'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/framework/vmix_core'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework/vmix_core'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/framework'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel'
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/os_cmd'
for n in Linux;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/os_cmd/Linux'
for n in ossdetect ossvermagic;do (cd $n && make dep) || eval 'exit 1'; done
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/os_cmd/Linux/ossdetect'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/stat.h>
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/os_cmd/Linux/ossdetect'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/os_cmd/Linux/ossvermagic'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <sys/wait.h>
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/os_cmd/Linux/ossvermagic'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/os_cmd/Linux'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/os_cmd'
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/kernel/OS/Linux'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/kernel/OS/Linux'
cd: 1: can't cd to noregparm
make: *** [dep_subdirs] Ошибка 1
Directory preparation complete.
Build ID will be 2005
Setting up kernel-only NOREGPARM compiling environment
srcdir=/opt/oss-devel
Source directory is /opt/oss-devel
Build directory is /home/alexanderfroloff/oss42build/noregparm
Build tree created OK
System: Linux
Release: 3.0.0-13-generic-pae
Machine: i686
Directory depends on the SADA package which is not available
Directory depends on the MIDI subsystem which is not enabled
Source configuration OK

Build ID will become 201110230851
for n in kernel kernel/OS/Linux;do (cd $n && make dep) || eval 'exit 1'; done
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel'
for n in drv framework;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/drv'
for n in oss_hdaudio oss_sblive;do (cd $n && make dep) || eval 'exit 1'; done
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/drv/oss_hdaudio'
cc -g ../../../utils/ossmkdep.c -o ../../../ossmkdep
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/drv/oss_hdaudio'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/drv/oss_sblive'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/drv/oss_sblive'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/drv'
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework'
for n in ac97 audio midi_stubs mixer osscore remux sndstat uart401 vmix_core;do (cd $n && make dep) || eval 'exit 1'; done
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/ac97'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/ac97'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/audio'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/audio'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/midi_stubs'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/midi_stubs'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/mixer'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
Cannot locate <stdarg.h>
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/mixer'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/osscore'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/osscore'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/remux'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/remux'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/sndstat'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/sndstat'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/uart401'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/uart401'
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/vmix_core'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework/vmix_core'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/framework'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel'
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/noregparm/kernel/OS/Linux'
rm -f .depend
touch .depend
for n in *.c; do ../../../ossmkdep -M -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. $n | sed 's/\(.*\)\.o:/$(DEPDIR)\/\1.o:/' >> .depend; done
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/noregparm/kernel/OS/Linux'
Directory preparation complete.
Build ID will be 2005
alexanderfroloff@GreenBox:~/oss42build$ make
for n in lib cmd kernel os_cmd kernel/OS/Linux noregparm;do (echo $n && cd $n && make ARCH=i686) || eval 'exit 1'; done
lib
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/lib'
for n in libOSSlib libossmix;do (echo $n && cd $n && make ARCH=i686) || eval 'exit 1'; done
libOSSlib
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/lib/libOSSlib'
sh ./compile.sh /lib "cc" "-O -fPIC" "make"
make[3]: Вход в каталог `/home/alexanderfroloff/oss42build/lib/libOSSlib'
cc -O -fPIC   -c -o libmain.o libmain.c
cc -O -fPIC   -c -o midiparser.o midiparser.c
cc -O -fPIC   -c -o play_event.o play_event.c
cc -shared -fPIC -o libOSSlib.so libmain.o midiparser.o play_event.o
make[3]: Выход из каталога `/home/alexanderfroloff/oss42build/lib/libOSSlib'
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/lib/libOSSlib'
libossmix
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/lib/libossmix'
cc -c -O -shared -fPIC -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. libossmix_cache.c -o ./libossmix_cache.o
cc -c -O -shared -fPIC -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. libossmix_local.c -o ./libossmix_local.o
cc -c -O -shared -fPIC -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. libossmix_main.c -o ./libossmix_main.o
cc -c -O -shared -fPIC -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. libossmix_tcp.c -o ./libossmix_tcp.o
cc  -shared -fPIC -o ../../target/lib/libossmix.so ./libossmix_cache.o ./libossmix_local.o ./libossmix_main.o ./libossmix_tcp.o
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/lib/libossmix'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/lib'
cmd
make[1]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd'
for n in ossdevlinks ossinfo ossmix ossmixd osspartysh ossphone ossplay osstest ossxmix savemixer vmixctl;do (echo $n && cd $n && make ARCH=i686) || eval 'exit 1'; done
ossdevlinks
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossdevlinks'
cc -c -O -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossdevlinks.c -o ./ossdevlinks.o
cc -O   -s -o ../../target/sbin/ossdevlinks ./ossdevlinks.o
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossdevlinks'
ossinfo
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossinfo'
cc -c -O -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossinfo.c -o ./ossinfo.o
cc -O   -s -o ../../target/bin/ossinfo ./ossinfo.o
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossinfo'
ossmix
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossmix'
cc -c -O -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossmix.c -o ./ossmix.o
cc -O   -s -o ../../target/bin/ossmix ./ossmix.o
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossmix'
ossmixd
make[2]: Вход в каталог `/home/alexanderfroloff/oss42build/cmd/ossmixd'
cc -c -O -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossmixd.c -o ./ossmixd.o
cc -O  -L../../target/lib -lossmix -s -o ../../target/sbin/ossmixd ./ossmixd.o
make[2]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd/ossmixd'
make[1]: Выход из каталога `/home/alexanderfroloff/oss42build/cmd'
./ossmixd.o: In function `update_values':
ossmixd.c:(.text+0xd): undefined reference to `ossmix_get_nrext'
ossmixd.c:(.text+0x24): undefined reference to `mixc_get_node'
ossmixd.c:(.text+0x43): undefined reference to `mixc_get_value'
ossmixd.c:(.text+0x56): undefined reference to `ossmix_get_value'
ossmixd.c:(.text+0x6a): undefined reference to `mixc_set_value'
./ossmixd.o: In function `poll_devices':
ossmixd.c:(.text+0x3cb): undefined reference to `mixc_get_all_values'
ossmixd.c:(.text+0x413): undefined reference to `mixc_clear_changeflags'
ossmixd.c:(.text+0x427): undefined reference to `ossmix_get_nmixers'
./ossmixd.o: In function `serve_command':
ossmixd.c:(.text+0x56c): undefined reference to `ossmix_get_nmixers'
ossmixd.c:(.text+0x591): undefined reference to `ossmix_get_mixerinfo'
ossmixd.c:(.text+0x625): undefined reference to `ossmix_open_mixer'
ossmixd.c:(.text+0x664): undefined reference to `ossmix_close_mixer'
ossmixd.c:(.text+0x674): undefined reference to `ossmix_get_nrext'
ossmixd.c:(.text+0x6ae): undefined reference to `ossmix_get_nodeinfo'
ossmixd.c:(.text+0x6d4): undefined reference to `mixc_add_node'
ossmixd.c:(.text+0x792): undefined reference to `ossmix_get_nodeinfo'
ossmixd.c:(.text+0x7c2): undefined reference to `mixc_add_node'
ossmixd.c:(.text+0x823): undefined reference to `ossmix_get_enuminfo'
ossmixd.c:(.text+0x89e): undefined reference to `ossmix_get_description'
ossmixd.c:(.text+0x915): undefined reference to `ossmix_get_value'
ossmixd.c:(.text+0x942): undefined reference to `mixc_get_all_values'
ossmixd.c:(.text+0x98a): undefined reference to `mixc_clear_changeflags'
ossmixd.c:(.text+0x9ac): undefined reference to `ossmix_set_value'
./ossmixd.o: In function `main':
ossmixd.c:(.text+0xc17): undefined reference to `ossmix_init'
ossmixd.c:(.text+0xc5c): undefined reference to `ossmix_connect'
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [../../target/sbin/ossmixd] Ошибка 1
make[1]: *** [subdirs] Ошибка 1
make: *** [subdirs] Ошибка 1

Help me, please...
Thanks.
greenvorbisfan
New Member
 
Posts: 2
Joined: Mon Feb 21, 2011 1:49 pm

Re: Problem with compiling on the 3.0 kernel

Postby cesium » Mon Oct 31, 2011 6:18 pm

Probably too late to be useful... You can override this by editing cmd/Makefile and removing ossmixd from SUBDIRS line. That said, the error reminds me of seawright's earlier. In both cases, it seems gcc can't find the library when linking, and rearranging the arguments the way he did might help?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Problem with compiling on the 3.0 kernel

Postby dev » Tue Nov 01, 2011 5:26 am

cesium wrote:Probably too late to be useful... You can override this by editing cmd/Makefile and removing ossmixd from SUBDIRS line. That said, the error reminds me of seawright's earlier. In both cases, it seems gcc can't find the library when linking, and rearranging the arguments the way he did might help?



hi, please get the latest HG sources - the problem is that the Makefile was busted - this has been fixed up.



regards
Dev
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: Problem with compiling on the 3.0 kernel

Postby greenvorbisfan » Mon Nov 14, 2011 7:52 am

Thanks, all works fine. :)
greenvorbisfan
New Member
 
Posts: 2
Joined: Mon Feb 21, 2011 1:49 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest