Hi all, I upgraded my OpenBSD 3.7 system's source code running this command:
cvs -q up -rOPENBSD_3_7 -Pd Ok, everything worked fine, the source files were updated. Following the instructions contained in http://www.openbsd.org/anoncvs.html, there says that before compiling a new kernel I should compile my latest config, because I could have problems during the kernel config. Ok, I did that. I updated my config: cd /usr/src/usr.sbin/config make ... Ok. make install ... Ok. I went to mu kernel config directory, and I did the following: ./dmassage -s GENERIC > mykernel after: config mykernel I entered in my kernel's compilation directory and I did: make depend make After a certain amount of time compiling the sources, the following error messages showed up: - Hide quoted text - systrace.o(.text+0xc67): In function `systrace_redirect': : undefined reference to `stackgap_init' systrace.o(.text+0x137d): In function `systrace_prepinject': : undefined reference to `stackgap_alloc' systrace.o(.text+0x1bdb): In function `systrace_replace': : undefined reference to `stackgap_alloc' init_sysent.o(.data+0x44): undefined reference to `compat_43_sys_creat' init_sysent.o(.data+0x9c): undefined reference to `compat_43_sys_lseek' init_sysent.o(.data+0x134): undefined reference to `compat_43_sys_stat' init_sysent.o(.data+0x144): undefined reference to `compat_43_sys_lstat' init_sysent.o(.data+0x1f4): undefined reference to `compat_43_sys_fstat' init_sysent.o(.data+0x1fc): undefined reference to `compat_43_sys_getkerninfo' init_sysent.o(.data+0x204): undefined reference to `compat_43_sys_getpagesize' init_sysent.o(.data+0x23c): undefined reference to `compat_43_sys_mmap' init_sysent.o(.data+0x2a4): undefined reference to `compat_43_sys_wait' init_sysent.o(.data+0x2bc): undefined reference to `compat_43_sys_gethostname' init_sysent.o(.data+0x2c4): undefined reference to `compat_43_sys_sethostname' init_sysent.o(.data+0x2cc): undefined reference to `compat_43_sys_getdtablesize' init_sysent.o(.data+0x31c): undefined reference to `compat_43_sys_accept' init_sysent.o(.data+0x32c): undefined reference to `compat_43_sys_send' init_sysent.o(.data+0x334): undefined reference to `compat_43_sys_recv' init_sysent.o(.data+0x364): undefined reference to `compat_43_sys_sigvec' init_sysent.o(.data+0x36c): undefined reference to `compat_43_sys_sigblock' init_sysent.o(.data+0x374): undefined reference to `compat_43_sys_sigsetmask' init_sysent.o(.data+0x384): undefined reference to `compat_43_sys_sigstack' init_sysent.o(.data+0x38c): undefined reference to `compat_43_sys_recvmsg' init_sysent.o(.data+0x394): undefined reference to `compat_43_sys_sendmsg' init_sysent.o(.data+0x3ec): undefined reference to `compat_43_sys_recvfrom' init_sysent.o(.data+0x40c): undefined reference to `compat_43_sys_truncate' init_sysent.o(.data+0x414): undefined reference to `compat_43_sys_ftruncate' init_sysent.o(.data+0x46c): undefined reference to `compat_43_sys_getpeername' init_sysent.o(.data+0x474): undefined reference to `compat_43_sys_gethostid' init_sysent.o(.data+0x47c): undefined reference to `compat_43_sys_sethostid' init_sysent.o(.data+0x484): undefined reference to `compat_43_sys_getrlimit' init_sysent.o(.data+0x48c): undefined reference to `compat_43_sys_setrlimit' init_sysent.o(.data+0x494): undefined reference to `compat_43_sys_killpg' init_sysent.o(.data+0x4ac): undefined reference to `compat_43_sys_quota' init_sysent.o(.data+0x4b4): undefined reference to `compat_43_sys_getsockname' init_sysent.o(.data+0x4e4): undefined reference to `compat_43_sys_getdirentries' init_sysent.o(.data+0x5e4): undefined reference to `compat_35_sys_stat' init_sysent.o(.data+0x5ec): undefined reference to `compat_35_sys_fstat' init_sysent.o(.data+0x5f4): undefined reference to `compat_35_sys_lstat' init_sysent.o(.data+0x6f4): undefined reference to `compat_35_sys_semop' init_sysent.o(.data+0x73c): undefined reference to `compat_35_sys_shmget' init_sysent.o(.data+0x80c): undefined reference to `compat_35_sys___semctl' init_sysent.o(.data+0x814): undefined reference to `compat_35_sys_shmctl' init_sysent.o(.data+0x81c): undefined reference to `compat_35_sys_msgctl' init_sysent.o(.data+0x84c): undefined reference to `compat_35_sys_fhstat' tty.o(.text+0xfe0): In function `ttioctl': : undefined reference to `ttcompat' I always used the 'dmassage' to configure my kernel and I never had a problem before. Could please anyone tell me what's going on? I don't believe it could be a programming error in kernel source files. Could it be my linker? Because I noticed all the modules were compiled. Only when it comes to linking the problem shows up. P.S. I have also tried to compile a GENERIC kernel but it also ran into errors. And the error list was quite bigger. -- Joco Salvatti Undergraduating in Computer Science Federal University of Para - UFPA web: http://salvatti.expert.com.br e-mail: [EMAIL PROTECTED]

