On Fri, Aug 04, 2000 at 04:39:34PM +0200, agx wrote:
> This is the error i get in serverboot
> 
> gmake[1]: Entering directory
> `/usr/home/agx/src/hurd-20000726/serverboot'
> i586-gnu-gcc -O
> -Wl,-rpath-link=.:../libdiskfs/:../libfshelp/:../libftpconn/:../libhurdbugaddr
> 
>/:../libihash/:../libiohelp/:../libnetfs/:../libpager/:../libpipe/:../libports/:../libps/:../l
> ibshouldbeinlibc/:../libstore/:../libthreads/:../libtrivfs/ -g -O3 
> -static   -uargp_program_b
> ug_address -o serverboot \
>               bootstrap.o ffs_compat.o load.o wiring.o def_pager_setup.o
> ffs_file_io.o minix_f
> fs_compat.o default_pager.o file_io.o minix_file_io.o ext2_file_io.o
> kalloc.o strfcns.o ./../e
> xec/exec.o panic.o elf-load.o gunzip.o bunzip2.o boot_script.o
> memory_objectServer.o default_p
> agerServer.o excServer.o bootstrapServer.o memory_object_defaultServer.o
> ./../exec/unzip.o ./.
> ./exec/inflate.o ./../exec/util.o ./../exec/do-bunzip2.o \
>       '-Wl,-(' ../libhurdbugaddr/libhurdbugaddr.a
> ../libthreads/libthreads.a \
>                  \
>       '-Wl,-)'
> load.o: In function `boot_script_exec_cmd':
> /usr/home/agx/src/hurd-20000726/serverboot/load.c:375: undefined
> reference to `set_regs'
> ./../exec/exec.o: In function `check_elf':
> /usr/home/agx/src/hurd-20000726/exec/exec.c:864: undefined reference to
> `elf_machine_matches_h
> ost'
> ./../exec/exec.o: In function `do_exec':
> /usr/home/agx/src/hurd-20000726/exec/exec.c:1402: undefined reference to
> `check_hashbang'
> /usr/home/agx/src/hurd-20000726/exec/exec.c:1493: undefined reference to
> `ports_create_port'
> /usr/home/agx/src/hurd-20000726/exec/exec.c:1876: undefined reference to
> `ports_get_send_right
> '
> /usr/home/agx/src/hurd-20000726/exec/exec.c:1927: undefined reference to
> `ports_port_deref'
> ./../exec/exec.o: In function `S_exec_startup_get_info':
> /usr/home/agx/src/hurd-20000726/exec/exec.c:2167: undefined reference to
> `ports_lookup_port'
> /usr/home/agx/src/hurd-20000726/exec/exec.c:2171: undefined reference to
> `ports_port_deref'
> collect2: ld returned 1 exit status
> gmake[1]: *** [serverboot] Error 1
> gmake[1]: Leaving directory `/usr/home/agx/src/hurd-20000726/serverboot'
> gmake: *** [serverboot] Error 2
>

The symbols that are missing can be found in the files serverboot/exec.c, 
exec/hostarch.c,  exec/hashexec.c, libports/create-port.c, 
libports/port-deref.c, libports/lookup-port.c. The makefile might have not 
picked them up because they might not have compiled properly and didn't have a 
.o extension. Make sure those object files are there and try again. Otherwise 
you are free to flame the people who wrote the makefiles. :-)

Igor

Reply via email to