#1  
Old 18th November 2008, 13:39
Intraweb Intraweb is offline
Junior Member
 
Join Date: Aug 2007
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default LLTD and Ubunutu 8.10

Hi,

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:
Code:
-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:

Code:
../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.

Thanks,
Intra
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2008, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please run this:
Code:
ln -sf /bin/bash /bin/sh
and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th December 2009, 15:46
DaveLevy DaveLevy is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Thumbs up

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 by DaveLevy; 17th December 2009 at 15:47. Reason: improved clarity, I hope
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.