Thread

  1. Linux: linux.s / tas.s not found...

    ernst.molitor@uni-bonn.de — 1998-02-04T23:13:48Z

    Dear PostgreSQL gurus, 
    
    with the current CVSup sources, I came across an error
    message during the configure step. Using my personal
    configure template, linux-elf-libc6, I stumbled into an
    error message saying that .../tas.s could not be linked.
    
    To get rid of the message, I had to change the configure
    file:
    --- snip, snip ---
    *** 5258,5265 ****
      EOF
      
      cat >> $CONFIG_STATUS <<EOF
    ! ac_sources="backend/port/tas/${os}.s backend/port/dynloader/${os}.c backend/port/dynloader/${os}.h include/port/${os}.h makefiles/Makefile.${os}"
    ! ac_dests="backend/port/tas.s backend/port/dynloader.c include/dynloader.h include/os.h Makefile.port"
      EOF
      
      cat >> $CONFIG_STATUS <<\EOF
    --- 5261,5269 ----
      EOF
      
      cat >> $CONFIG_STATUS <<EOF
    ! ac_sources="backend/port/dynloader/${os}.c backend/port/dynloader/${os}.h include/port/${os}.h makefiles/Makefile.${os}"
    ! ac_dests="backend/port/dynloader.c include/dynloader.h include/os.h Makefile.port"
      EOF
      
      cat >> $CONFIG_STATUS <<\EOF
    --- snip, snip ---
    
    BTW: my template for Linux-GNU-GLIBC-2.x (aka libc6) looks like this:
    
    --- snip, snip ---
    AROPT:crs
    CFLAGS:-O2 -m486 -DHAVE_CRYPT_H=1 -DHAVE_UNION_SEMUN=1
    SHARED_LIB:-fpic
    ALL:
    SRCH_INC:/usr/local/include /usr/local/include/ncurses /usr/local/include/readline
    SRCH_LIB:/usr/local/lib
    USE_LOCALE:yes
    DLSUFFIX:.so
    YFLAGS:-d
    YACC:bison -y
    --- snip, snip ---
    
    Best regards,
    
    Ernst