Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem'

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Mon, 21 Jun 2010 09:27:53 -0700
2010/6/21 Anton Shterenlikht <mexas_at_bristol.ac.uk>:
> On Mon, Jun 21, 2010 at 04:45:03PM +0200, Dag-Erling Smørgrav wrote:
>> jhell <jhell_at_dataix.net> writes:
>> > Anton Shterenlikht <mexas_at_bristol.ac.uk> writes:
>> > > What do you mean by "updating your headers"?
>> > cd /usr/src/include && make obj && make depend && make all && make install
>>
>> wrong.
>>
>> % cd /usr/src
>> % make obj
>> % make cleandepend
>> % make depend
>> % make buildincludes
>> % make installincludes
>
> this failed in "make depend" step with
>
> *skip*
>
> rm -f .depend
> mkdep -f .depend -a     /usr/src/lib/libalias/modules/smedia/../../../../sys/netinet/libalias/alias_smedia.c
> ===> lib/libarchive (depend)
> rm -f .depend
> mkdep -f .depend -a    -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 -DPLATFORM_CONFIG_H=\"config_freebs .h\" -I/usr/obj/usr/src/lib/libarchive -DWITH_OPENSSL /usr/src/lib/libarchive/archive_check_magic.c /usr/src lib/libarchive/archive_entry.c /usr/src/lib/libarchive/archive_entry_copy_stat.c /usr/src/lib/libarchive/arc ive_entry_stat.c /usr/src/lib/libarchive/archive_entry_strmode.c /usr/src/lib/libarchive/archive_entry_link_resolver.c /usr/src/lib/libarchive/archive_entry_xattr.c /usr/src/lib/libarchive/archive_read.c /usr/src/lib/libarchive/archive_read_data_into_fd.c /usr/src/lib/libarchive/archive_read_disk.c /usr/src/lib/libarchive/archive_read_disk_entry_from_file.c /usr/src/lib/libarchive/archive_read_disk_set_standard_lookup.c /usr/src/lib/libarchive/archive_read_extract.c /usr/src/lib/libarchive/archive_read_open_fd.c /usr/src/lib/libarchive/archive_read_open_file.c /usr/src/lib/libarchive/archive_read_open_filename.c /usr/src/lib/libarchive/archive_read_open_memory.c /usr/src/lib/libarchive/archive_read_support_compression_all.c /usr/src/lib/libarchive/archive_read_support_compression_bzip2.c /usr/src/lib/libarchive/archive_read_support_compression_compress.c /usr/src/lib/libarchive/archive_read_support_compression_gzip.c /usr/src/lib/libarchive/archive_read_support_compression_none.c /usr/src/lib/libarchive/archive_read_support_compression_program.c /usr/src/lib/libarchive/archive_read_support_compression_uu.c /usr/src/lib/libarchive/archive_read_support_compression_xz.c /usr/src/lib/libarchive/archive_read_support_format_all.c /usr/src/lib/libarchive/archive_read_support_format_ar.c /usr/src/lib/libarchive/archive_read_support_format_cpio.c /usr/src/lib/libarchive/archive_read_support_format_empty.c /usr/src/lib/libarchive/archive_read_support_format_iso9660.c /usr/src/lib/libarchive/archive_read_support_format_mtree.c /usr/src/lib/libarchive/archive_read_support_format_raw.c /usr/src/lib/libarchive/archive_read_support_format_tar.c /usr/src/lib/libarchive/archive_read_support_format_zip.c /usr/src/lib/libarchive/archive_string.c /usr/src/lib/libarchive/archive_string_sprintf.c /usr/src/lib/libarchive/archive_util.c /usr/src/lib/libarchive/archive_virtual.c /usr/src/lib/libarchive/archive_write.c /usr/src/lib/libarchive/archive_write_disk.c /usr/src/lib/libarchive/archive_write_disk_set_standard_lookup.c /usr/src/lib/libarchive/archive_write_open_fd.c /usr/src/lib/libarchive/archive_write_open_file.c /usr/src/lib/libarchive/archive_write_open_filename.c /usr/src/lib/libarchive/archive_write_open_memory.c /usr/src/lib/libarchive/archive_write_set_compression_bzip2.c /usr/src/lib/libarchive/archive_write_set_compression_compress.c /usr/src/lib/libarchive/archive_write_set_compression_gzip.c /usr/src/lib/libarchive/archive_write_set_compression_none.c /usr/src/lib/libarchive/archive_write_set_compression_program.c /usr/src/lib/libarchive/archive_write_set_compression_xz.c /usr/src/lib/libarchive/archive_write_set_format.c /usr/src/lib/libarchive/archive_write_set_format_ar.c /usr/src/lib/libarchive/archive_write_set_format_by_name.c /usr/src/lib/libarchive/archive_write_set_format_cpio.c /usr/src/lib/libarchive/archive_write_set_format_cpio_newc.c /usr/src/lib/libarchive/archive_write_set_format_mtree.c /usr/src/lib/libarchive/archive_write_set_format_pax.c /usr/src/lib/libarchive/archive_write_set_format_shar.c /usr/src/lib/libarchive/archive_write_set_format_ustar.c /usr/src/lib/libarchive/archive_write_set_format_zip.c /usr/src/lib/libarchive/filter_fork.c
> /usr/src/lib/libarchive/archive_read_support_compression_xz.c:45:18: error: lzma.h: No such file or directory
> /usr/src/lib/libarchive/archive_write_set_compression_xz.c:42:18: error: lzma.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/lib/libarchive.
> *** Error code 1
>
>
> I'm now at r209398

    Although I know it isn't the proper method of doing things, why
not just do...

pushd lib/lzma
make obj
make depend
make buildincludes
make installincludes
popd

# Resume regularly scheduled program

    ? Obviously something is screwed up with the environment on the
machine as half-measures don't appear to be working :/...

-Garrett
Received on Mon Jun 21 2010 - 14:27:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC