LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2006, 05:32 PM   #1
manicman
Member
 
Registered: Oct 2005
Location: England (Southampton)
Distribution: Ubuntu 6.06 , Gentoo
Posts: 62

Rep: Reputation: 15
make error


hello i am trying to compile eterm from source but im not having much luck. it configures fine but i get an error when i run make
Code:
$ make
make  all-recursive
make[1]: Entering directory `/home/chris/Eterm-0.9.3'
Making all in src
make[2]: Entering directory `/home/chris/Eterm-0.9.3/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include   -g -O2 -c actions.c
rm -f .libs/actions.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c actions.c     -fPIC -DPIC -o .libs/actions.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c actions.c -o actions.o >/dev/null 2>&1
mv -f .libs/actions.lo actions.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include   -g -O2 -c buttons.c
rm -f .libs/buttons.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c buttons.c     -fPIC -DPIC -o .libs/buttons.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c buttons.c -o buttons.o >/dev/null 2>&1
mv -f .libs/buttons.lo buttons.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include   -g -O2 -c command.c
rm -f .libs/command.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c command.c     -fPIC -DPIC -o .libs/command.lo
command.c: In function 'inp_text':
command.c:2560: warning: pointer targets in passing argument 1 of 'tt_write' differ in signedness
command.c: In function 'init_command':
command.c:3005: error: invalid lvalue in assignment
command.c:3007: error: invalid lvalue in assignment
command.c: In function 'main_loop':
command.c:3472: warning: pointer targets in passing argument 1 of 'safe_print_string' differ in signedness
make[2]: *** [command.lo] Error 1
make[2]: Leaving directory `/home/chris/Eterm-0.9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/Eterm-0.9.3'
make: *** [all-recursive-am] Error 2
ive tried searching google and ive not had much luck has anyone got any ideas what it could be. ive tried useing a deb to install it but eterm didnt work properley so i thought id try and compile it.
 
Old 03-03-2006, 03:35 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
command.c: In function 'inp_text':
command.c:2560: warning: pointer targets in passing argument 1 of 'tt_write' differ in signedness
and
Quote:
command.c: In function 'main_loop':
command.c:3472: warning: pointer targets in passing argument 1 of 'safe_print_string' differ in signedness
may be system related. I've read some stories about the default sign for "int" (in C) to be "unsigned" or "signed", depending on the platform. So, the different signedness may come from not explicitly adding the "signed" or "unsigned" prefix to some "int" variables, which is not very platform independent.
In any case, it can be relatively easy to fix.

Quote:
command.c: In function 'init_command':
command.c:3005: error: invalid lvalue in assignment
command.c:3007: error: invalid lvalue in assignment
Have you taken a look at the source code itself? Maybe you can correct the problem yourself.

In any case, the source code you have doesn't compile. It creates errors. So I'd go back to wherever you got it from and download a stable release, that does compile. Or simply complain about the compilation errors you're having.

An alternative would be to correct the mistakes yourself, if you happen to know the C programming language.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 01:05 PM
xprobe2 "make" error make[1]: *** [config_set.o] Error 1 rsharma2000 Linux - Security 1 11-24-2004 05:10 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 04:08 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 10:58 AM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration