LLTD and Ubunutu 8.10

Discussion in 'HOWTO-Related Questions' started by Intraweb, Nov 18, 2008.

  1. Intraweb

    Intraweb New Member


    I am running Ubuntu 8.10 Server Edition.

    Today i tried the LLTD Tutorial.

    It seems I have troubles compiling the MS LLTD stuff.
    I followed exactly every step.

    After "make" I got several files, but not the required lltd2d executable.

    I only got this:
    -rw-r--r-- 1 root root 13608 2008-11-18 11:32 band.o
    -rw-r--r-- 1 root root 16480 2008-11-18 11:31 event.o
    -rw-r--r-- 1 root root 39712 2008-11-18 11:31 main.o
    -r-x------ 1 root root    282 2006-08-03 11:47 Makefile
    -rw-r--r-- 1 root root 62688 2008-11-18 11:31 osl-linux.o
    -rw-r--r-- 1 root root 52760 2008-11-18 11:32 packetio.o
    -rw-r--r-- 1 root root 14960 2008-11-18 11:31 util.o

    and stops with this error message:

    ../src/state.c: In function ‘state_process_packet’:
    ../src/state.c:177: error: ‘UINT_MAX’ undeclared (first use in this function)
    ../src/state.c:177: error: (Each undeclared identifier is reported only once
    ../src/state.c:177: error: for each function it appears in.)
    make: *** [state.o] Error 1

    I would appreciate it if somebody can give me a hand here.
    If required I can post the whole output of make.

  2. falko

    falko Super Moderator ISPConfig Developer

    Please run this:
    ln -sf /bin/bash /bin/sh
    and try again.
  3. DaveLevy

    DaveLevy New Member

    The comments on the tutorial page refer to this error as well.

    I am not sure what link command recommend by Falco above does, but you need to amend the code in state.c as described in the comments.
    Last edited: Dec 17, 2009

Share This Page