Re: Cross compilation error

2021-06-17 Thread Paul Wise
Jonathan Tremesaygues wrote:

> If you don’t mind, I would prefer that you take care of the bug
> report.

Will do.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Re: Cross compilation error

2021-06-17 Thread Jonathan Tremesaygues

On 17/06/2021 06:15, Paul Wise wrote:


tomas wrote:

On Wed, Jun 16, 2021 at 06:07:00PM +0200, Jonathan Tremesaygues wrote:

But it is not the job of ’dpkg-buildpackage -a’ to set the
right compiler and other stuff? Neither the wiki, the manpage nor
the unofficial guides found on Internet say I have to set manually
the compiler :-/


It should, I think.


Looks like the cross build QA service sees the same failure:

http://crossqa.debian.net/src/ppp

I think that this means the package doesn't support being cross built
yet due to problems in the packaging.

I noticed that if I replace this line in debian/rules:

./configure --prefix=/usr

With this line:

./configure --prefix=/usr --cc=gcc --cross_compile="$(DEB_HOST_GNU_TYPE)-"

Then the cross build starts working.

Would you like to file a bug report about this issue?

If so, run this command:

reportbug --source ppp

Make sure to use these headers and pseudo-headers:

Subject: ppp: FTCBFS -- uses the build architecture compiler

Source: ppp

Version: 2.4.9-1+1
Severity: normal
Tags: patch
X-Debbugs-Cc: debian-cr...@lists.debian.org
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

If not, then I can file the bug for you.




Thanks on your feedback!

If you don’t mind, I would prefer that you take care of the bug report.


Best regards,
Jo



Re: Cross compilation error

2021-06-16 Thread Paul Wise

tomas wrote:
> On Wed, Jun 16, 2021 at 06:07:00PM +0200, Jonathan Tremesaygues wrote:
> > But it is not the job of ’dpkg-buildpackage -a’ to set the
> > right compiler and other stuff? Neither the wiki, the manpage nor
> > the unofficial guides found on Internet say I have to set manually
> > the compiler :-/
> 
> It should, I think.

Looks like the cross build QA service sees the same failure:

   http://crossqa.debian.net/src/ppp

I think that this means the package doesn't support being cross built
yet due to problems in the packaging.

I noticed that if I replace this line in debian/rules:

   ./configure --prefix=/usr

With this line:

   ./configure --prefix=/usr --cc=gcc --cross_compile="$(DEB_HOST_GNU_TYPE)-"

Then the cross build starts working.

Would you like to file a bug report about this issue?

If so, run this command:

   reportbug --source ppp

Make sure to use these headers and pseudo-headers:

   Subject: ppp: FTCBFS -- uses the build architecture compiler
   
   Source: ppp
   Version: 2.4.9-1+1
   Severity: normal
   Tags: patch
   X-Debbugs-Cc: debian-cr...@lists.debian.org
   User: debian-cr...@lists.debian.org
   Usertags: ftcbfs
   
If not, then I can file the bug for you.
   
-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Re: Cross compilation error

2021-06-16 Thread tomas
On Wed, Jun 16, 2021 at 06:07:00PM +0200, Jonathan Tremesaygues wrote:
> On 16/06/2021 17:55, Georgi Naplatanov wrote:

[...]

> >The environment variable CC should contain the path to the compiler for
> >armhf architecture not for amd64 one.
> >
> >HTH
> >
> >Kind regards
> >Georgi
> >
> 
> It’s look like you are right. By setting CC to
> arm-linux-gnueabihf-gcc, I was able to compile the package.
> 
> But it is not the job of ’dpkg-buildpackage -a’ to set the
> right compiler and other stuff? Neither the wiki, the manpage nor
> the unofficial guides found on Internet say I have to set manually
> the compiler :-/

It should, I think.

You might like to take this to ,
there are pretty knowledgeable folks there.

Cheers
 - t


signature.asc
Description: Digital signature


Re: Cross compilation error

2021-06-16 Thread Jonathan Tremesaygues

On 16/06/2021 17:55, Georgi Naplatanov wrote:

On 6/16/21 5:39 PM, Jonathan Tremesaygues wrote:

Hi,

I’m using Debian Buster amd64 and I try to cross-compile ppp for armhf.

I never cross-compiled before so I have followed this guide:
https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage

A paste of my actions is available here: http://paste.debian.net/1201433/

If I understand the error, the compiler search for the amd64 version of
the libssl-dev’s headers instead of the armhf one. But I don’t
understand why. Any idea or clue?

Best regards,

Jonathan T.



Hi Jonathan,

probably this warning is the issue.

"dpkg-architecture: warning: specified GNU system type
arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try
setting a correct CC environment variable"

The environment variable CC should contain the path to the compiler for
armhf architecture not for amd64 one.

HTH

Kind regards
Georgi



It’s look like you are right. By setting CC to arm-linux-gnueabihf-gcc, 
I was able to compile the package.


But it is not the job of ’dpkg-buildpackage -a’ to set the right 
compiler and other stuff? Neither the wiki, the manpage nor the 
unofficial guides found on Internet say I have to set manually the 
compiler :-/



Jo



Re: Cross compilation error

2021-06-16 Thread Georgi Naplatanov
On 6/16/21 5:39 PM, Jonathan Tremesaygues wrote:
> Hi,
> 
> I’m using Debian Buster amd64 and I try to cross-compile ppp for armhf.
> 
> I never cross-compiled before so I have followed this guide:
> https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage
> 
> A paste of my actions is available here: http://paste.debian.net/1201433/
> 
> If I understand the error, the compiler search for the amd64 version of
> the libssl-dev’s headers instead of the armhf one. But I don’t
> understand why. Any idea or clue?
> 
> Best regards,
> 
> Jonathan T.
> 

Hi Jonathan,

probably this warning is the issue.

"dpkg-architecture: warning: specified GNU system type
arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try
setting a correct CC environment variable"

The environment variable CC should contain the path to the compiler for
armhf architecture not for amd64 one.

HTH

Kind regards
Georgi



Cross compilation error

2021-06-16 Thread Jonathan Tremesaygues

Hi,

I’m using Debian Buster amd64 and I try to cross-compile ppp for armhf.

I never cross-compiled before so I have followed this guide: 
https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage


A paste of my actions is available here: http://paste.debian.net/1201433/

If I understand the error, the compiler search for the amd64 version of 
the libssl-dev’s headers instead of the armhf one. But I don’t 
understand why. Any idea or clue?


Best regards,

Jonathan T.



Compilation error

2010-01-23 Thread Mike Viau











Hi there,

I seem to have run into what I hope to be a common compliation error that I 
unfortunatly can not get past. The problem is with very basic C libraries. In 
the xen project Im compiling there is a crc32.c source file where zutil.h is 
included (this seems to link up). Then inside zutil.h file, the standard c 
libraries stdlib.h and string.h are inlcuded but these files can not be found. 

Error output can be seen below.

I am running Debian Lenny x86_64 and have installed many pacakges in an attempt 
to satifiy the many dependancies for the xen-3.4.2 tar.gz which include. Also 
if anyone happens to have a more barebone debain dependancy list that works to 
compile all features of the latest version of xen, please let me know :)



Dependancies installed:

build-essential make gcc gcc-multilib libc6-dev libc6 module-init-tools bzip2 
dpkg-dev apt-src apt-build sudo fakeroot auto-apt devscripts dh-make 
module-assistant rubygems zlib1g-dbg zlib1g-dev python python-dev 
python-twisted python-xml python-pyopenssl python-pam libncurses-dev 
libncurses5-dbg libncursesw5-dev libncursesw5-dbg openssl openssl-blacklist 
openssl-blacklist-extra libcurl4-openssl-dev libcurl3-dbg manpages-dev 
glibc-doc bridge-utils iproute iproute-dev libvncserver-dev libsdl-dev 
libjpeg62-dev x11-common libx11-dev xserver-xorg-dev bcc bin86 gawk transfig 
tgif texinfo pciutils-dev pciutils mercurial newlib-source



Error output:

In file included from crc32.c:29:
zutil.h:23:22: error: string.h: No such file or directory
In file included from zutil.h:24,
 from crc32.c:29:
/root/xen_source/xen-3.4.2/stubdom/../extras/mini-os/include/posix/stdlib.h:4:25:
 error: stdlib.h: No such file or directory
make[2]: *** [crc32.o] Error 1
make[2]: Leaving directory `/root/xen_source/xen-3.4.2/stubdom/zlib-x86_64'
make[1]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libz.a] Error 2
make[1]: Leaving directory `/root/xen_source/xen-3.4.2/stubdom'
make: *** [install-stubdom] Error 2
r...@localhost:/root/xen_source/xen-3.4.2# zutil.h:23:22: error: string.h: No 
such file or directory
bash: zutil.h:23:22:: command not found
 


Thank You.

-M


  
_
Say Happy New Year with Messenger for Mobile.
http://go.microsoft.com/?linkid=9706117

RE: [Xen-users] Compilation error

2010-01-23 Thread Mike Viau







/usr/include/string.h and

/usr/include/stdlib.h 

are present.

I also noticed these C libraries are present in the stubdom directory which is 
where the error is occuring (make: *** [install-stubdom] Error 2)


r...@localhost:/root/xen_source/xen_root# find / -name 'string.h' | grep stubdom
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/include/sys/string.h
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/include/string.h
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/sys/linux/sys/string.h

r...@localhost:/root/xen_source/xen_root# find / -name 'stdlib.h' | grep stubdom
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/include/stdlib.h
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/include/machine/stdlib.h
/root/xen_source/xen-3.4.2/stubdom/newlib-1.16.0/newlib/libc/machine/powerpc/machine/stdlib.h


Please advise further, thanks.

 

-M




Date: Sat, 23 Jan 2010 22:07:36 +0100
From: michael.schm...@xncore.com
To: xen-us...@lists.xensource.com
Subject: Re: [Xen-users] Compilation error
CC: mike.v...@sheridanc.on.ca






  
  






In file included from crc32.c:29:

zutil.h:23:22: error: string.h: No such file or directory

In file included from zutil.h:24,

 from crc32.c:29:

/root/xen_source/xen-3.4.2/stubdom/../extras/mini-os/include/posix/stdlib.h:4:25:
error: stdlib.h: No such file or directory

make[2]: *** [crc32.o] Error 1

make[2]: Leaving directory
`/root/xen_source/xen-3.4.2/stubdom/zlib-x86_64'

make[1]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libz.a] Error 2

make[1]: Leaving directory `/root/xen_source/xen-3.4.2/stubdom'

make: *** [install-stubdom] Error 2

r...@localhost:/root/xen_source/xen-3.4.2# zutil.h:23:22: error:
string.h: No such file or directory

bash: zutil.h:23:22:: command not found




If

/usr/include/string.h does not exists, you have
to re-install libc6-dev



Hi there,

I seem to have run into what I hope to be a common
compliation error that I unfortunatly can not get past. The problem is
with very basic C libraries. In the xen project Im compiling there is a
crc32.c source file where zutil.h is included (this seems to link up).
Then inside zutil.h file, the standard c libraries stdlib.h and string.h are 
inlcuded but these files can not be found. 

Error output can be seen below.

I
am running Debian Lenny x86_64 and have installed many pacakges in an
attempt to satifiy the many dependancies for the xen-3.4.2 tar.gz which
include. Also if anyone happens to have a more barebone debain
dependancy list that works to compile all features of the latest
version of xen, please let me know :)



Dependancies installed:

build-essential make gcc gcc-multilib libc6-dev libc6
module-init-tools bzip2 dpkg-dev apt-src apt-build sudo fakeroot
auto-apt devscripts dh-make module-assistant rubygems zlib1g-dbg
zlib1g-dev python python-dev python-twisted python-xml python-pyopenssl
python-pam libncurses-dev libncurses5-dbg libncursesw5-dev
libncursesw5-dbg openssl openssl-blacklist openssl-blacklist-extra
libcurl4-openssl-dev libcurl3-dbg manpages-dev glibc-doc bridge-utils
iproute iproute-dev libvncserver-dev libsdl-dev libjpeg62-dev
x11-common libx11-dev xserver-xorg-dev bcc bin86 gawk transfig tgif
texinfo pciutils-dev pciutils mercurial newlib-source
  
_
Say Happy New Year with Messenger for Mobile.
http://go.microsoft.com/?linkid=9706117

apt source compilation error

2009-09-20 Thread Peng Yu
Hi,

I downloaded apt_0.6.46.4-0.1+etch1.tar.gz and decompress it. Then I
run ./configure and make. But I get the following error. Could
somebody let me know how to fix the problem?

Regards,
Peng

Compiling contrib/mmap.cc to
/home/pengy/download/linux/debian/etch/admin/apt-0.6.46.4/obj/apt-pkg/mmap.opic
contrib/mmap.cc: In constructor ‘DynamicMMap::DynamicMMap(long
unsigned int, long unsigned int)’:
contrib/mmap.cc:179: error: ‘memset’ was not declared in this scope
contrib/mmap.cc: In member function ‘long unsigned int
DynamicMMap::WriteString(const char*, long unsigned int)’:
contrib/mmap.cc:281: error: ‘strlen’ was not declared in this scope
contrib/mmap.cc:283: error: ‘memcpy’ was not declared in this scope
make[2]: *** 
[/home/pengy/download/linux/debian/etch/admin/apt-0.6.46.4/obj/apt-pkg/mmap.opic]
Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt source compilation error

2009-09-20 Thread Sven Joachim
On 2009-09-20 18:40 +0200, Peng Yu wrote:

 I downloaded apt_0.6.46.4-0.1+etch1.tar.gz and decompress it. Then I
 run ./configure and make.

Out of curiosity, why are you doing that?  Apparently you don't use
etch, because...

 Compiling contrib/mmap.cc to
 /home/pengy/download/linux/debian/etch/admin/apt-0.6.46.4/obj/apt-pkg/mmap.opic
 contrib/mmap.cc: In constructor ‘DynamicMMap::DynamicMMap(long
 unsigned int, long unsigned int)’:
 contrib/mmap.cc:179: error: ‘memset’ was not declared in this scope
 contrib/mmap.cc: In member function ‘long unsigned int
 DynamicMMap::WriteString(const char*, long unsigned int)’:
 contrib/mmap.cc:281: error: ‘strlen’ was not declared in this scope
 contrib/mmap.cc:283: error: ‘memcpy’ was not declared in this scope

...this looks like you have a newer C++ compiler than in etch.  What
does g++ --version print?

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: libgtkhtml: need help with compilation error

2007-11-02 Thread Andrew Sackville-West
On Fri, Nov 02, 2007 at 07:06:07AM -0700, Rehceb Rotkiv wrote:
 
 Hi all!
 
 I'm trying to compile GtkHTML 3.16.1 (which I need for compiling the newest
 Evolution). The configure script runs through without errors. make, however,
 terminates with these errors:
 
 ...
 testgtkhtml.o: In function `print_preview_cb':
 /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:354: undefined
 reference to `gtk_print_operation_new'
 /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:355: undefined
 reference to `gtk_print_operation_set_n_pages'
 /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:361: undefined
 reference to `gtk_print_operation_run'
 testgtkhtml.o: In function `draw_page_cb':
 /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:324: undefined
 reference to `gtk_print_context_create_pango_layout'
 testgtkhtml.o: In function `print_footer':
 /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:300: undefined
 reference to `gtk_print_context_get_cairo_context'
 ./.libs/libgtkhtml-3.14.so: undefined reference to
 `gtk_page_setup_get_page_width'
 ./.libs/libgtkhtml-3.14.so: undefined reference to `pango_units_to_double'
 ./.libs/libgtkhtml-3.14.so: undefined reference to
 `gtk_print_context_get_page_setup'
 ./.libs/libgtkhtml-3.14.so: undefined reference to
 `gtk_page_setup_get_page_height'
 ./.libs/libgtkhtml-3.14.so: undefined reference to
 `gtk_print_context_create_pango_context'
 ./.libs/libgtkhtml-3.14.so: undefined reference to
 `gtk_print_context_get_height'
 collect2: ld returned 1 exit status
 ...
 
 I have the necessary libraries installed  (from Debian's *-dev packages) --
 at least I think so! Do you have an idea what might be wrong?

definitely looks like you're missing a library there. or at least
missing an include for GtkPrintOperation. That's per google and I'm no
dev.

On my system, the function gtk_print_operation_new is provided by
/usr/include/gtk-2.0/gtkprintoperation.h, part of  libgtk2.0-dev. 

I found this by a quick google on the undefined references above and a
little grepping in /usr/include. You can probably do this as well...

A



signature.asc
Description: Digital signature


libgtkhtml: need help with compilation error

2007-11-02 Thread Rehceb Rotkiv

Hi all!

I'm trying to compile GtkHTML 3.16.1 (which I need for compiling the newest
Evolution). The configure script runs through without errors. make, however,
terminates with these errors:

...
testgtkhtml.o: In function `print_preview_cb':
/home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:354: undefined
reference to `gtk_print_operation_new'
/home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:355: undefined
reference to `gtk_print_operation_set_n_pages'
/home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:361: undefined
reference to `gtk_print_operation_run'
testgtkhtml.o: In function `draw_page_cb':
/home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:324: undefined
reference to `gtk_print_context_create_pango_layout'
testgtkhtml.o: In function `print_footer':
/home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:300: undefined
reference to `gtk_print_context_get_cairo_context'
./.libs/libgtkhtml-3.14.so: undefined reference to
`gtk_page_setup_get_page_width'
./.libs/libgtkhtml-3.14.so: undefined reference to `pango_units_to_double'
./.libs/libgtkhtml-3.14.so: undefined reference to
`gtk_print_context_get_page_setup'
./.libs/libgtkhtml-3.14.so: undefined reference to
`gtk_page_setup_get_page_height'
./.libs/libgtkhtml-3.14.so: undefined reference to
`gtk_print_context_create_pango_context'
./.libs/libgtkhtml-3.14.so: undefined reference to
`gtk_print_context_get_height'
collect2: ld returned 1 exit status
...

I have the necessary libraries installed  (from Debian's *-dev packages) --
at least I think so! Do you have an idea what might be wrong?

Thanks,
Rehceb

-- 
View this message in context: 
http://www.nabble.com/libgtkhtml%3A-need-help-with-compilation-error-tf4737644.html#a13548325
Sent from the Debian User mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libgtkhtml: need help with compilation error

2007-11-02 Thread Andrew Sackville-West
On Fri, Nov 02, 2007 at 10:04:10AM -0700, Rehceb Rotkiv wrote:
 
 
 Andrew Sackville-West wrote:
  
  definitely looks like you're missing a library there. or at least
  missing an include for GtkPrintOperation. That's per google and I'm no
  dev.
  
  On my system, the function gtk_print_operation_new is provided by
  /usr/include/gtk-2.0/gtkprintoperation.h, part of  libgtk2.0-dev. 
  
  I found this by a quick google on the undefined references above and a
  little grepping in /usr/include. You can probably do this as well...
  
 
 thanks for your help. My GTK (libgtk2.0-dev from the Etch repos) does not
 have /usr/include/gtk-2.0/gtkprintoperation.h! I compiled it from source and
 now have this file in /usr/local/include/gtk-2.0/. How do I tell configure
 and/or make to look for GTK at this location? I already tried
 
 $ ./configure LD_LIBRARY_PATH='/usr/local/include' 
 
 (without knowing what exactly I was doing), but it didn't work.

sorry. out of my league. try ./configure --help as that doesn't look
like a valid ./configure option to my eye. Maybe, 

export LD_LI... ; ./configure 

but I'm just guessing.

A


signature.asc
Description: Digital signature


Re: libgtkhtml: need help with compilation error

2007-11-02 Thread Rehceb Rotkiv


Andrew Sackville-West wrote:
 
 definitely looks like you're missing a library there. or at least
 missing an include for GtkPrintOperation. That's per google and I'm no
 dev.
 
 On my system, the function gtk_print_operation_new is provided by
 /usr/include/gtk-2.0/gtkprintoperation.h, part of  libgtk2.0-dev. 
 
 I found this by a quick google on the undefined references above and a
 little grepping in /usr/include. You can probably do this as well...
 
 A
 

Hi Andrew,

thanks for your help. My GTK (libgtk2.0-dev from the Etch repos) does not
have /usr/include/gtk-2.0/gtkprintoperation.h! I compiled it from source and
now have this file in /usr/local/include/gtk-2.0/. How do I tell configure
and/or make to look for GTK at this location? I already tried

$ ./configure LD_LIBRARY_PATH='/usr/local/include' 

(without knowing what exactly I was doing), but it didn't work.

Regards,
Rehceb

-- 
View this message in context: 
http://www.nabble.com/libgtkhtml%3A-need-help-with-compilation-error-tf4737644.html#a13551551
Sent from the Debian User mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libgtkhtml: need help with compilation error

2007-11-02 Thread Kamaraju S Kusumanchi
Rehceb Rotkiv wrote:

 
 Hi all!
 
 I'm trying to compile GtkHTML 3.16.1 (which I need for compiling the
 newest Evolution). The configure script runs through without errors. make,
 however, terminates with these errors:
 

Others have already given you some answers. Here is my take on this.

If the configure script runs without errors and then make does not compile
the code completely, then it is a bug worth reporting. That said, are you
sure there are no errors generated during the configure script?

Coming back to original question, the answer might be as simple as running

sudo apt-get build-dep gtkhtml3.14

assuming that the dependencies have not changed much between 3.14 and 3.16.

hth
raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



(qpopper_4.0.5-4sarge1_amd64 + qpopper-mysql-0.14.patch) compilation error (fwd)

2006-04-08 Thread Toth Szabolcs


Dear Debian users,

I tired to compile and make a package from the qpopper_4.0.5-4sarge1_amd64
source files after I applied the qpopper-mysql-0.14.patch, but I had got
some problem during the proceudre.

1. I couldn't applie the patch fully by the debian src however there was
no problem with the original qpopper files with the same patch.
(ftp://ftp.qualcomm.com/eudora/servers/unix/popper/old/qpopper4.0.5.tar.gz)

2. By the original qpopper files after the configuration the compilation 
finished without any problem but with the debian source it was halted with 
the following msg:


gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_get_subcommand.c -o pop_get_subcommand.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_init.c -o pop_init.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_last.c -o pop_last.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_list.c -o pop_list.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_log.c -o pop_log.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_lower.c -o pop_lower.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_msg.c -o pop_msg.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_parse.c -o pop_parse.o
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common -I/usr/local/ssl/include \
-g -O2 -DHAVE_CONFIG_H  -I/usr/include/mysql -DLINUX -DUNIX
pop_pass.c -o pop_pass.o
pop_pass.c: In function `pop_pass':
pop_pass.c:1614: error: `mysqlauth_host' undeclared (first use in this
function)
pop_pass.c:1614: error: (Each undeclared identifier is reported only once
pop_pass.c:1614: error: for each function it appears in.)
pop_pass.c:1614: error: `mysqlauth_username' undeclared (first use in this
function)
pop_pass.c:1615: error: `mysqlauth_password' undeclared (first use in this
function)
pop_pass.c:1615: error: `mysqlauth_db' undeclared (first use in this
function)
pop_pass.c:1616: error: `mysqlauth_port' undeclared (first use in this
function)
make[2]: *** [pop_pass.o] Error 1
make[2]: Leaving directory `/usr/src/qpopper-4.0.5/popper'
make[1]: *** [popper_server] Error 2
make[1]: Leaving directory `/usr/src/qpopper-4.0.5'
make: *** [install] Error 2



please write my any intruduction how can I make a working packege.
thanx
Szabolcs Toth***
*** 1531,1541 
  {
  int rslt;
  charbuf [ 256 ];
  struct stat stat_buf;


  if ( p-bUser_opts ) {
  rslt = Qsnprintf ( buf, sizeof(buf), %s/.qpopper-options, 
pwp-pw_dir );
  if ( rslt == -1 )
  pop_log ( p, POP_PRIORITY, HERE,
Unable to build user options file name for user %s,
--- 1551,1579 
  {
  int rslt;
  charbuf [ 256 ];
+ chartempbuf [ 256 ];
  struct stat stat_buf;


  if ( p-bUser_opts ) {
+ #ifdef MYSQLAUTH
+   /* assumes home directory? */
+   strcpy(tempbuf,pwp-pw_dir);
+   /* tack on domain */
+   if (strcmp(p-domain,NULL)) {
+   strlcat ( tempbuf, p-domain, sizeof(tempbuf) );
+   strlcat ( tempbuf, /, sizeof(tempbuf) );
+   }
+   /* tack on hashing */
+   if ( p-hash_spool != 0 ) {
+strlcat ( tempbuf, get_hash_dir ( p-user, p-hash_spool ), 
sizeof(tempbuf) );
+   }
+   /* tack on user */
+   strlcat ( tempbuf, p-user, sizeof(tempbuf) );
+ rslt = Qsnprintf ( buf, sizeof(buf), %s/.qpopper-options, tempbuf );
+ #else
  rslt = Qsnprintf ( buf, sizeof(buf), %s/.qpopper-options, 
pwp-pw_dir );
+ #endif
  if ( rslt == -1 )
  pop_log ( p, POP_PRIORITY, HERE,
Unable to build user options file name for user %s,

oracle:/usr/src/qpopper-4.0.5# patch -p1  qpopper-mysql-0.14.patch
patching file config.h.in
Hunk #1 succeeded at 295 (offset 9 lines).
Hunk #2 succeeded at 616 (offset 14 lines).
patching file configure
Hunk #1 succeeded at 833 (offset 159 lines).
Hunk #2 succeeded at 843 (offset 159 lines).
Hunk #3 succeeded at 878 (offset 159 lines).
Hunk #4 succeeded at 899 (offset 160 lines).
Hunk #5 succeeded at 3168 with fuzz 2 (offset 460 lines).
Hunk #6 succeeded at 4531 with fuzz 2 (offset 539 lines).
Hunk 

Re: compilation error ?

2006-02-25 Thread Simo Kauppi
On Mon, Feb 20, 2006 at 11:15:56PM +0200, Mehmet Fatih Akbulut wrote:
 hi all,
 when i try to compile a package [yakuake], i get the following errors :
 
 configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
 configure.in:48: error: possibly undefined macro: AM_CONFIG_HEADER
 configure.in:51: error: possibly undefined macro: AC_CHECK_COMPILERS
 configure.in:52: error: possibly undefined macro: AC_ENABLE_SHARED
 configure.in:53: error: possibly undefined macro: AC_ENABLE_STATIC
 configure.in:58: error: possibly undefined macro: AM_KDE_WITH_NLS
 configure.in:61: error: possibly undefined macro: AC_PATH_KDE
 configure.in:70: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
 make[1]: *** [configure] Error 1
 make[1]: Leaving directory `/root/Desktop/yakuake-2.7.3'
 make: *** [configure] Error 2
 
 yakuake doesnt have a good documentation :'(
 so, how can i solve this problem ?
 many thanks in advance.

Hi,

Do you have automake package installed? I'm not familiar with yakuake,
but automake1.9 is the latest in etch. If the problem is with the
automake version, you could try another version of automake.

HTH
Simo
-- 
:r ~/.signature


signature.asc
Description: Digital signature


compilation error ?

2006-02-20 Thread Mehmet Fatih Akbulut
hi all,when i try to compile a package [yakuake], i get the following errors :configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow.
 See the Autoconf documentation.configure.in:48: error: possibly undefined macro: AM_CONFIG_HEADERconfigure.in:51: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:52: error: possibly undefined macro: AC_ENABLE_SHAREDconfigure.in:53: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:58: error: possibly undefined macro: AM_KDE_WITH_NLSconfigure.in:61: error: possibly undefined macro: AC_PATH_KDEconfigure.in:70
: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLENmake[1]: *** [configure] Error 1make[1]: Leaving directory `/root/Desktop/yakuake-2.7.3'make: *** [configure] Error 2yakuake doesnt have a good documentation :'(
so, how can i solve this problem ?many thanks in advance.


compilation error for mplayer plugin

2005-11-17 Thread cqst
hello everyone,
I try to compile the mplayer plugin for my web browser.
./configure is OK but when I laucnh make I got that :

g++ -c -o plugin-support.o -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 
-I../gecko-sdk -I../gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE 
-DMOZILLA_STRICT_API  -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -DX_ENABLED  Source/plugin-support.cpp
Source/plugin-support.cpp: Dans function « int URLcmp(const char*, const char*) 
   »:
Source/plugin-support.cpp:302: error: `rpl_malloc' undeclared (first use this 
   function)
Source/plugin-support.cpp:302: error: (Each undeclared identifier is reported 
   only once for each function it appears in.)
make: *** [plugin-support.o] Erreur 1
zsh: exit 2 make


I've installed libc-dev and xlibs-dev but it doesnt solved the problem...
any help ?

thx by advance



Re: compilation error for mplayer plugin

2005-11-17 Thread cqst
I cant install from apt-get cause i'm on stable and its purposed but there are 
dependancies not satisfied, and its not for mozilla but for opera
I need to build it

thx for the answer

On Thu, 17 Nov 2005 17:34:01 +
Antony Gelberg [EMAIL PROTECTED] wrote:

 cqst wrote:
  hello everyone,
  I try to compile the mplayer plugin for my web browser.
 
 If you mean the mozilla mplayer plugin, it's in Debian hence you don't
 need to build it.
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: compilation error for mplayer plugin

2005-11-17 Thread Edward J. Shornock
cqst wrote:
 hello everyone,
 I try to compile the mplayer plugin for my web browser.
 ./configure is OK but when I laucnh make I got that :
 
 g++ -c -o plugin-support.o -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 
 -I../gecko-sdk -I../gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE 
 -DMOZILLA_STRICT_API  -pthread -I/usr/include/glib-2.0 
 -I/usr/lib/glib-2.0/include   -DX_ENABLED  Source/plugin-support.cpp
 Source/plugin-support.cpp: Dans function « int URLcmp(const char*, const 
 char*) 
»:
 Source/plugin-support.cpp:302: error: `rpl_malloc' undeclared (first use this 
function)
 Source/plugin-support.cpp:302: error: (Each undeclared identifier is reported 
only once for each function it appears in.)
 make: *** [plugin-support.o] Erreur 1
 zsh: exit 2 make
 
 
 I've installed libc-dev and xlibs-dev but it doesnt solved the problem...
 any help ?
 

According to the build depends for the debian package, the following are
needed:


Build-Depends: debhelper (= 4.1.0), cdbs, xlibs-dev | libx11-dev,
xlibs-dev | libxpm-dev, xlibs-dev | libice-dev, xlibs-dev | libxt-dev,
mozilla-dev, pkg-config, libgtk2.0-dev



Check to make sure that you have libgtk2.0-dev installed.  If that still
doesn't work, you might want to give 'auto-apt' a try.



$ apt-cache show auto-apt
Package: auto-apt
Priority: optional
Section: admin
Installed-Size: 216
Maintainer: Fumitoshi UKAI [EMAIL PROTECTED]
Architecture: i386
Version: 0.3.20
Depends: libc6 (= 2.3.2.ds1-4)
Recommends: apt, sudo, perl, wget, dpkg-dev
Suggests: x-terminal-emulator, libgtk-perl, build-essential
Filename: pool/main/a/auto-apt/auto-apt_0.3.20_i386.deb
Size: 45610
MD5sum: 1c04095554a0812cdaaea0a146296c8e
Description: package search by file and on-demand package installation tool
 auto-apt checks the file access of programs running within its
 environments, and if a program tries to access a file known to
 belong in an uninstalled package, auto-apt will install that
 package using apt-get.  This feature requires apt and sudo to work.
 .
 It also provides simple database to search which package contains
 a requesting file.
Tag: admin::package-management, interface::commandline,
role::sw:utility, suite::debian, use::downloading, use::searching,
works-with::software:package


HTH,

-- 

Ed



signature.asc
Description: OpenPGP digital signature


Re: compilation error for mplayer plugin

2005-11-17 Thread cqst
Thanks for your help, I didnt know auto-apt !
usefull tool :)

bye

On Thu, 17 Nov 2005 15:37:28 -0500
Edward J. Shornock [EMAIL PROTECTED] wrote:

 cqst wrote:
  hello everyone,
  I try to compile the mplayer plugin for my web browser.
  ./configure is OK but when I laucnh make I got that :
  
  g++ -c -o plugin-support.o -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 
  -I../gecko-sdk -I../gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE 
  -DMOZILLA_STRICT_API  -pthread -I/usr/include/glib-2.0 
  -I/usr/lib/glib-2.0/include   -DX_ENABLED  Source/plugin-support.cpp
  Source/plugin-support.cpp: Dans function « int URLcmp(const char*, const 
  char*) 
 »:
  Source/plugin-support.cpp:302: error: `rpl_malloc' undeclared (first use 
  this 
 function)
  Source/plugin-support.cpp:302: error: (Each undeclared identifier is 
  reported 
 only once for each function it appears in.)
  make: *** [plugin-support.o] Erreur 1
  zsh: exit 2 make
  
  
  I've installed libc-dev and xlibs-dev but it doesnt solved the problem...
  any help ?
  
 
 According to the build depends for the debian package, the following are
 needed:
 
 
 Build-Depends: debhelper (= 4.1.0), cdbs, xlibs-dev | libx11-dev,
 xlibs-dev | libxpm-dev, xlibs-dev | libice-dev, xlibs-dev | libxt-dev,
 mozilla-dev, pkg-config, libgtk2.0-dev
 
 
 
 Check to make sure that you have libgtk2.0-dev installed.  If that still
 doesn't work, you might want to give 'auto-apt' a try.
 
 
 
 $ apt-cache show auto-apt
 Package: auto-apt
 Priority: optional
 Section: admin
 Installed-Size: 216
 Maintainer: Fumitoshi UKAI [EMAIL PROTECTED]
 Architecture: i386
 Version: 0.3.20
 Depends: libc6 (= 2.3.2.ds1-4)
 Recommends: apt, sudo, perl, wget, dpkg-dev
 Suggests: x-terminal-emulator, libgtk-perl, build-essential
 Filename: pool/main/a/auto-apt/auto-apt_0.3.20_i386.deb
 Size: 45610
 MD5sum: 1c04095554a0812cdaaea0a146296c8e
 Description: package search by file and on-demand package installation tool
  auto-apt checks the file access of programs running within its
  environments, and if a program tries to access a file known to
  belong in an uninstalled package, auto-apt will install that
  package using apt-get.  This feature requires apt and sudo to work.
  .
  It also provides simple database to search which package contains
  a requesting file.
 Tag: admin::package-management, interface::commandline,
 role::sw:utility, suite::debian, use::downloading, use::searching,
 works-with::software:package
 
 
 HTH,
 
 -- 
 
 Ed
 



Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
Hello,
while trying to compile a module (shfs) for my kernel (compiled from source, 
version 2.6.5) I got a segmentation fault error. I deleted my kernel-source 
folder, while keeping a copy of my configuration, and tried to recompile it. 
I got the same error again, here it is :
===
make menuconfig
/bin/sh: line 1:  9613 Segmentation fault  gcc -Wall -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common -S -o /dev/null -xc 
/dev/null /dev/null 21
 HOSTCC  scripts/basic/fixdep
/bin/sh: line 1:  9616 Segmentation fault  gcc 
-Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
make[1]: *** [scripts/basic/fixdep] Error 139
make: *** [scripts_basic] Error 2
===

I was wondering if it was because of a problem of GCC but I know no way of 
checking this. I'm using debian unstable and made an 'apt-get update;apt-get 
upgrade' before trying. The problem isn't kernel related since the 
compilation worked before, and I get the same error with the 2.6.9 sources.

Anyone can help me out ?
Thanks in advance
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
Yes I have, with the latest provided by debian : 2.6.9
The problem seems to be unrelated to the version of the kernel because even 
module compilation fails, as I stated before.

Thanks for helping

Hi
Have you tried to compile another 2.6.x kernel with your 2.6.5/.config
? Moreover you will have an up to date kernel.
 Good luck,
 Rem
_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I do have all the necessary packages. The thing is that I configured my 
kernel a couple of months ago (when 2.6.5 was the latest stable kernel 
version). It worked fine. Yesterday I found shfs module, and while trying to 
compile it I got this error message.

It isn't a normal compilation error, all the more, the message says 
SEGMENTATION FAULT, which means that something goes wrong, really wrong. I'm 
wondering if it's my gcc that's having problems. Might have to reinstall it, 
if that's possible.

What can I do to force the compilation with another version of GCC, I seem 
to have 3 of 4 versions installed (2.9something, 3.3 and 3.4 I think) ?


and of course you have all the packages needed to compile a kernel ?
gcc
kernel-package
libncurses5-dev
module-init-tools ( pour 2.6 uniquement )
binutils
modutils
And yes, I saw that the compilation processus failed really early,
it's strange, it doesn't look like a wrong configuration with make
menuconfig, it's like a bug.

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I removed some of my gcc's, keeping the gcc-x.x-base files though, they 
seemed necessary. I tried again, same error. The funny thing, even 'make 
clean' fails :

...
/bin/sh: line 1: 15413 Segmentation fault  gcc -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o 
/dev/null -xc /dev/null /dev/null 21
/bin/sh: line 1: 15420 Segmentation fault  gcc -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o 
/dev/null -xc /dev/null /dev/null 21
...

That's really weird, and starts to worry me a little bit... Something's 
wrong and I really can't find what it might be... (since apparently it isn't 
a general gcc bug, I wouldn't be the only one having it...)

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re : compilation error

2005-01-09 Thread Alex Papadopoulos
Oh ok, now I got it... Well it IS a problem with gcc...
Even 'gcc -v' gives me a segmentation fault...
I'll try to reinstall it...
How can this be done actually with apt-get ?
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
And it seems all my gcc-3.x packages don't work... gcc-2.95 is fine, but too 
old...

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Alex Papadopoulos
I've managed to reinstall gcc-3.3 (with aptitude), after having cleared my 
apt cache (apt-get clean) so as to be sure that a correct version would be 
downloaded...
Same problem, segmentation fault when I do 'gcc -v'

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
 Oh ok, now I got it... Well it IS a problem with gcc...
 Even 'gcc -v' gives me a segmentation fault...
 
 I'll try to reinstall it...
 
 How can this be done actually with apt-get ?

It can't really, AFAIK.

I would download the deb again manually, and install it with dpkg.

It's a pity apt-get does not have a raw get function which simply
downloads a named package, no matter whether it is installed already,
etc.  Not very modular of it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Andrea Vettorello
On Mon, 10 Jan 2005 08:27:58 +1100, Sam Watkins [EMAIL PROTECTED] wrote:
 On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
  Oh ok, now I got it... Well it IS a problem with gcc...
  Even 'gcc -v' gives me a segmentation fault...
 
  I'll try to reinstall it...
 
  How can this be done actually with apt-get ?
 
 It can't really, AFAIK.
 
 I would download the deb again manually, and install it with dpkg.
 
 It's a pity apt-get does not have a raw get function which simply
 downloads a named package, no matter whether it is installed already,
 etc.  Not very modular of it.
 

Look in the apt-get manual for the --reinstall option, if you want
only to download some packages  use the --download-only option...


Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Alex Papadopoulos
I tried it and it failed...

It can't really, AFAIK.
I would download the deb again manually, and install it with dpkg.
It's a pity apt-get does not have a raw quot;getquot; function which 
simply
downloads a named package, no matter whether it is installed already,
etc.  Not very modular of it.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Hanspeter Kunz
On Mon, 2005-01-10 at 08:27 +1100, Sam Watkins wrote:
 On Sun, Jan 09, 2005 at 04:57:49PM +, Alex Papadopoulos wrote:
  Oh ok, now I got it... Well it IS a problem with gcc...
  Even 'gcc -v' gives me a segmentation fault...
  
  I'll try to reinstall it...
  
  How can this be done actually with apt-get ?
 
 It can't really, AFAIK.
 
 I would download the deb again manually, and install it with dpkg.
 
 It's a pity apt-get does not have a raw get function which simply
 downloads a named package, no matter whether it is installed already,
 etc.  Not very modular of it.

What about apt-get --reinstall install pkgname ?
Doesn't this work?

Cheers,
Hp.
-- 
Hanspeter Kunz  Artificial Intelligence Laboratory
Ph.D. Student   Department of Information Technology
Email: [EMAIL PROTECTED]   University of Zurich
Tel: +41.(0)44.63-54306 Andreasstrasse 15, Office 2.12
http://ailab.ch/people/hkunzCH-8050 Zurich, Switzerland

Spamtraps: [EMAIL PROTECTED] [EMAIL PROTECTED]
---
Beggars should be no choosers.
-- John Heywood


signature.asc
Description: This is a digitally signed message part


Re: Re : compilation error

2005-01-09 Thread Sam Watkins
On Sun, Jan 09, 2005 at 10:32:48PM +0100, Andrea Vettorello wrote:
 Look in the apt-get manual for the --reinstall option, if you want
 only to download some packages  use the --download-only option...

ok, so:

  apt-get --reinstall --download-only foo

will fetch foo from the archive even if it's already installed.
That's handy to know, thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Alex Papadopoulos
I removed all old versions of gcc. I only kept gcc-3.3
The error persists, but when I move /usr/lib/gcc-lib/i486-linux/2.8.1 
directory, everything goes back normal. (at least gcc -v works :)

But when I tried to recompile a kernel that had compiled well a couple of 
months ago (same config used), I got another error... Since this config 
worked before, I still believe it is gcc related. Here's the error message :
include/linux/kernel.h:71: error: parse error before va_list
include/linux/kernel.h:71: warning: function declaration isn't a prototype

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re : compilation error

2005-01-09 Thread Andrea Vettorello
On Mon, 10 Jan 2005 08:40:22 +1100, Sam Watkins [EMAIL PROTECTED] wrote:
 On Sun, Jan 09, 2005 at 10:32:48PM +0100, Andrea Vettorello wrote:
  Look in the apt-get manual for the --reinstall option, if you want
  only to download some packages  use the --download-only option...
 
 ok, so:
 
   apt-get --reinstall --download-only foo
 
 will fetch foo from the archive even if it's already installed.
 That's handy to know, thanks.
 

Near, it's apt-get --reinstall --download-only install foo.


Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel compilation error

2005-01-09 Thread Wayne Topa
Alex Papadopoulos([EMAIL PROTECTED]) is reported to have said:
 I've managed to reinstall gcc-3.3 (with aptitude), after having cleared my 
 apt cache (apt-get clean) so as to be sure that a correct version would 
 be downloaded...
 Same problem, segmentation fault when I do 'gcc -v'
 
I have installed
gcc-3.3 3.3.5-5
gcc-3.3-base   3.3.5-5
gcc  3.3.5-1
gcc-3.4-base   3.4.3-6 

~# gcc -v
eading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm 
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-5)

HTH
-- 
Don't hit the keys so hard, it hurts.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



kernel compilation error

2004-05-24 Thread Rodney D. Myers
I'm attempting to compile a new kernel, using the HOWTO located here;

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

I can get everything compiled, and installed according to the docs, with
one exception.

I cannot get the initrd file built/made/etc. Without that file, my
computer refuses to boot using the new kernel

I used these examples to build the deb package;
sudo make-kpkg --append-to-version=.052004 kernel_image
sudo make-kpkg --initrd --append-to-version=.052004 kernel_image

Thanks for the help

-- 
Rodney D. Myers [EMAIL PROTECTED] 
Registered Linux User #96112
ICQ#: AIM#:   YAHOO:
18002350  mailman452  mailman42_5

They that can give up essential liberty to obtain a 
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759


pgpjAfgUATiFl.pgp
Description: PGP signature


kernel compilation error

2003-09-15 Thread [loonyx | rolf joho]
hi there

i'm trying to compile a custom 2.4.18 kernel on my woody-desktop using 
make-kpkg. after some minutes it exits and throws some lines at me as 
quoted at the end of this message. no kernel.deb is made. going through 
the docs did not bring me much further.

### what i did:
cd kernel-source-dir
cp old-2.4.18-config-file .config
# this cleans the config file so it matches the current kernel, right?
make oldconfig
make xconfig
# it used to work this way on older installs:
fakeroot make-kpkg --append_to_version -i686 --initrd --revision=rev.01 
kernel_image modules_image

any ideas?

 last words from make-kpkg:
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b 
/usr/src/kernel-source-2.4.18/debia
n/tmp-image -r 2.4.18-up-xas-1.0-i686; fi
depmod: *** Unresolved symbols in 
/usr/src/kernel-source-2.4.18/debian/tmp-image/lib/modules/2.4
.18-up-xas-1.0-i686/kernel/drivers/char/drm/sis.o
depmod: 	sis_malloc_Ra3329ed5
depmod: 	sis_free_Rced25333
make[2]: *** [_modinst_post] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
for module in  ; do\
  if test -d  $module; then\
(cd $module;   \
  if ./debian/rules KVERS=2.4.18-up-xas-1.0-i686 
KSRC=/usr/src/kernel-source-2.4.
18 \
 KMAINT=Unknown Kernel Package Maintainer 
KEMAIL=[EMAIL PROTECTED]
ured.in.etc.kernel-pkg.conf  \
 KDREV=rev.01 kdist_image; then\
  echo Module $module processed fine;\
  else  \
   echo Module $module failed.;  \
   echo Hit return to Continue;   \
	   read ans;\
  fi;   \
 ); \
  fi;   \
done
[1]+  Donemake xconfig



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



nvidia kernel driver source compilation - error when make install due to different kernel compiler version/current installed compiler version

2002-12-29 Thread Victor
- nvidia kernel driver source compilation - error when make install due
to different kernel compiler version/current installed compiler version
-

Hello, this question has been clearly addressed in the README file on
Nvidia's website, but what should I do? Get the old gcc that is the same
version as the one used to compile the kernel, or get the new kernel and
install the graphics drivers after I installed the new kernel? Which
kernel do you suggest Debian be used with?

- vic

__ 
Post your free ad now! http://personals.yahoo.ca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: nvidia kernel driver source compilation - error when makeinstall due to different kernel compiler version/current installedcompiler version

2002-12-29 Thread David Z Maze
Victor [EMAIL PROTECTED] writes:

 - nvidia kernel driver source compilation - error when make install due
 to different kernel compiler version/current installed compiler version
 -

 Hello, this question has been clearly addressed in the README file on
 Nvidia's website, but what should I do?

It's pretty clearly addressed in
/usr/share/doc/nvidia-kernel-src/README.Debian, too.  You set an
environment variable that sounds something like IGNORE_CC_MISMATCH if
you know you're doing the right thing.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Module compilation error

2002-02-27 Thread Narasimhamurthy Giridhar
Hi all
I was trying to write a module. I tried compiling it by doing

gcc -D__KERNEL__ -DMODULE -Wall -c file.c -o file.o

but i get the following error:

from /linux/module.h
included from file.c: /linux/autoconf.h does not exist

In the code I have :
 #includelinux/module.h
 #includelinux/version.h
#includelinux/kernel.h

What might the problem be ?

Reagards
Narasimhamurthy Giri, Clemson University Computer Science Dept.
---
Judge not lest ye be judged yourself.
---





Compilation error

2002-02-14 Thread Pierre EVENOU


I'm trying to compile examples of the source tree of
clanlib-0.5.4 on Debian (potato) and I always get the same message :

.I am going to compile the following binaries for you: initdisplay
g++ Intermediate/init_display.o -o init_display -lclanCore  -lclanApp 
-lclanDisplay
/usr/bin/ld: can't find -lclanCore
collect2: ld returned 1 exit status
make: *** [initdisplay] Erreur 1


The clanLib is install in /usr/local/lib, /usr/local/lib
is in /etc/ld.so.conf and ldconfig -v is saying that libclanCore is here.

What's wrong whith my install ?.



Re: Compilation error

2002-02-14 Thread J.H.M. Dassen \(Ray\)
On Thu, Feb 14, 2002 at 21:45:24 +0100, Pierre EVENOU wrote:
 g++ Intermediate/init_display.o -o init_display -lclanCore  -lclanApp 
 -lclanDisplay
 /usr/bin/ld: can't find -lclanCore

 The clanLib is install in /usr/local/lib,

Add -v to the g++ line and you'll see that that directory is not searched
by default when linking. You'll need to add -L/usr/local/lib to that link
line.

 /usr/local/lib is in /etc/ld.so.conf and ldconfig -v is saying that
 libclanCore is here.

Very nice, but that's only relevant for _running_ binaries (i.e. it affects
the dynamic loader, not the linker).

HTH,
Ray
-- 
The road to hell is paved with telecom billing requirements.



Re: Kernel compilation error.......

2001-12-18 Thread Paul Mackinney
C muttered:
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2
I saw this too when compiling 2.4.16, running an up-to-date Woody
system. I'll wait for 2.4.17. 

While I'm waiting, I have 2 questions for kernel-hackers:

1. I'm currently running 2.4.12, which I built and installed using the
kernel package system (very cool!). Now how can I compile and install a 
single moduler? The docs cover how to rebuild  resinstall all the
modules, but that seems like overkill...

2. Where can I get a config file that matches the build options for one
of the pre-compiled kernel packages? I'd like to be able to start with
one of those configs as a base for customization.

TIA, Paul
-- 
Paul Mackinney   |   Who profited from Sept 11?
[EMAIL PROTECTED]   |   http://www.copvcia.com/



Kernel compilation error.......

2001-12-12 Thread C
Hi there

I recently upgraded my machinevia apt.this included a glibc6/-dev
upgrade amongst other things.
now when compiling a kernel...even one known to previously compileit
fails at this point every time

drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
discarded section .text.exit'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2

The versions of my curreent packages are:
libc6  2.2.4-7
libc6-dev  2.2.4-7
kernel-package 7.75
gcc2.95.4-9
gcc-2.95   2.95.4-0.01100
make   3.79.1-10

Any offered assistance in how to acertain further information about this bug
would be apreciated

Many thanks
CraigT



Re: Kernel compilation error.......

2001-12-12 Thread J.A.Serralheiro
well I had trouble like those some times, and I assume that is something
related with a misconfigured kernel configuration file. I reinstalled the
source ( lazy ) and reconfigured the kernel to compile, and everything
went just fine.


On Wed, 12 Dec 2001, C wrote:

 Hi there
 
 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously compileit
 fails at this point every time
 
 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2
 
 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10
 
 Any offered assistance in how to acertain further information about this bug
 would be apreciated
 
 Many thanks
 CraigT
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Compilation error under debian

2001-12-12 Thread François
Hello 

Look at this error while trying to build openh323 1.7.4 uder debian woody
gcc version 2.95.4


any idea ?  Thanks


François


Francois : make
Created dependencies.
set -e; make -C src optdepend; make -C samples/simple optdepend;
make[1]: Entering directory `/disks/opt/OPENH323/openh323-1.7.4/src'
/opt/OPENH323/pwlib/tools/asnparser/obj_linux_x86_r/asnparser -s2 -m H225 -r 
MULTIMEDIA-SYSTEM-CONTROL=H245 -c /opt/OPENH323/
openh323/src/h225.asn
/opt/OPENH323/pwlib/tools/asnparser/obj_linux_x86_r/asnparser: error while 
loading shared libraries: libgcc_s.so.1: cannot op
en shared object file: No such file or directory
make[1]: *** [/opt/OPENH323/openh323/include/h225.h] Error 127
make[1]: Leaving directory `/disks/opt/OPENH323/openh323-1.7.4/src'
make: *** [optdepend] Error 2

-- 
[EMAIL PROTECTED]
   BULL-CITBtel:(+33) 556 437 848   Home: [EMAIL PROTECTED]
207, cours du Médoc fax:(+33) 556 437 978   http://www.citb.bull.net
 33000 Bordeaux BullCom: 227 7848   ICQ :3886291
-- Linux -



Re: Kernel compilation error.......

2001-12-12 Thread Dragos
On Wednesday 12 December 2001 01:38 pm, C wrote:
 Hi there

 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously
 compileit fails at this point every time

 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2

 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10

 Any offered assistance in how to acertain further information about this
 bug would be apreciated

 Many thanks
 CraigT
hello,
exactly the same behaviour here!
the difference being it barks at drivers/char/char.o (not drivers/net.o, like 
in your case)
woody installed today, kernel 2.2.19, I was compiling kernel 2.4.16 (debian 
source)
the source was just unarhived...

anybody on this?

dragos



Re: [OpenH323]Compilation error under debian

2001-12-12 Thread François
Sorry all, a pb between gcc3 and gcc 2.95.4.

don't acte !

François

On Wed, 12 Dec 2001 13:40:25 +0100
François Chenais [EMAIL PROTECTED] wrote:

 Hello 
 
 Look at this error while trying to build openh323 1.7.4 uder debian woody
 gcc version 2.95.4
 
 
 any idea ?  Thanks
 
 
   François
 
 
 Francois : make
 Created dependencies.
 set -e; make -C src optdepend; make -C samples/simple optdepend;
 make[1]: Entering directory `/disks/opt/OPENH323/openh323-1.7.4/src'
 /opt/OPENH323/pwlib/tools/asnparser/obj_linux_x86_r/asnparser -s2 -m H225 -r 
 MULTIMEDIA-SYSTEM-CONTROL=H245 -c /opt/OPENH323/
 openh323/src/h225.asn
 /opt/OPENH323/pwlib/tools/asnparser/obj_linux_x86_r/asnparser: error while 
 loading shared libraries: libgcc_s.so.1: cannot op
 en shared object file: No such file or directory
 make[1]: *** [/opt/OPENH323/openh323/include/h225.h] Error 127
 make[1]: Leaving directory `/disks/opt/OPENH323/openh323-1.7.4/src'
 make: *** [optdepend] Error 2
 
 -- 
 [EMAIL PROTECTED]
BULL-CITBtel:(+33) 556 437 848   Home: [EMAIL PROTECTED]
 207, cours du Médoc fax:(+33) 556 437 978   http://www.citb.bull.net
  33000 Bordeaux BullCom: 227 7848   ICQ :3886291
 -- Linux -
 
 Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
 The OpenH323 Project mailing list, using Mailman. To unsubscribe or
 change your subscription options, goto
 http://www.openh323.org/mailman/listinfo/openh323
 Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
 
 


-- 
[EMAIL PROTECTED]
   BULL-CITBtel:(+33) 556 437 848   Home: [EMAIL PROTECTED]
207, cours du Médoc fax:(+33) 556 437 978   http://www.citb.bull.net
 33000 Bordeaux BullCom: 227 7848   ICQ :3886291
-- Linux -



Re: Kernel compilation error.......

2001-12-12 Thread C
I have tried with same options as installed kernelalso with kernels .14
and .16 sourcealso got another person to check...see i wasnt
madlol..
this is why i think it might be the C libs

c^

- Original Message -
From: J.A.Serralheiro [EMAIL PROTECTED]
To: C [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Sent: Wednesday, December 12, 2001 12:07 PM
Subject: Re: Kernel compilation error...


 well I had trouble like those some times, and I assume that is something
 related with a misconfigured kernel configuration file. I reinstalled the
 source ( lazy ) and reconfigured the kernel to compile, and everything
 went just fine.


 On Wed, 12 Dec 2001, C wrote:

  Hi there
 
  I recently upgraded my machinevia apt.this included a
glibc6/-dev
  upgrade amongst other things.
  now when compiling a kernel...even one known to previously
compileit
  fails at this point every time
 
  drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
  discarded section .text.exit'
  make[1]: *** [vmlinux] Error 1
  make[1]: Leaving directory `/usr/src/linux'
  make: *** [stamp-build] Error 2
 
  The versions of my curreent packages are:
  libc6  2.2.4-7
  libc6-dev  2.2.4-7
  kernel-package 7.75
  gcc2.95.4-9
  gcc-2.95   2.95.4-0.01100
  make   3.79.1-10
 
  Any offered assistance in how to acertain further information about this
bug
  would be apreciated
 
  Many thanks
  CraigT
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]
 
 




Re: Kernel compilation error.......

2001-12-12 Thread G. Soyez
Hi CraigT

On Merkidi 12 Decimbe 2001 12:38, C wrote:
 Hi there

 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously
 compileit fails at this point every time

 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2

 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10

 Any offered assistance in how to acertain further information about this
 bug would be apreciated

It seems that the bug comes from the binutils package and can be solved by 
downgrading binutils.
It also seems that it will be fixed in the kernel 2.4.17.

Gregor

-- 
Grégory Soyez
Université de Liège
Institut de Physique 
Allée du VI Août, Bât B5
B-4000 Sart-Tilman LIEGE 1
Tel : +32 (0)4 366 36 04
Fax: +32 (0)4 366 36 72



Re: Kernel compilation error.......

2001-12-12 Thread Dragos
On Wednesday 12 December 2001 03:19 pm, C wrote:
 I have tried with same options as installed kernelalso with kernels .14
 and .16 sourcealso got another person to check...see i wasnt
 madlol..
 this is why i think it might be the C libs

 c^

 - Original Message -
 From: Dragos [EMAIL PROTECTED]
 To: C [EMAIL PROTECTED]; debian-user@lists.debian.org
 Sent: Wednesday, December 12, 2001 1:18 PM
 Subject: Re: Kernel compilation error...

  On Wednesday 12 December 2001 01:38 pm, C wrote:
   Hi there
  
   I recently upgraded my machinevia apt.this included a

 glibc6/-dev

   upgrade amongst other things.
   now when compiling a kernel...even one known to previously
   compileit fails at this point every time
  
   drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
   discarded section .text.exit'
   make[1]: *** [vmlinux] Error 1
   make[1]: Leaving directory `/usr/src/linux'
   make: *** [stamp-build] Error 2
  
   The versions of my curreent packages are:
   libc6  2.2.4-7
   libc6-dev  2.2.4-7
   kernel-package 7.75
   gcc2.95.4-9
   gcc-2.95   2.95.4-0.01100
   make   3.79.1-10
  
   Any offered assistance in how to acertain further information about
   this bug would be apreciated
  
   Many thanks
   CraigT
 
  hello,
  exactly the same behaviour here!
  the difference being it barks at drivers/char/char.o (not drivers/net.o,

 like

  in your case)
  woody installed today, kernel 2.2.19, I was compiling kernel 2.4.16

 (debian

  source)
  the source was just unarhived...
 
  anybody on this?
 
  dragos
and now, what?
maybe compiling it with gcc-3.0?

dragos



Re: Kernel compilation error.......

2001-12-12 Thread J.H.M. Dassen \(Ray\)
On Wed, Dec 12, 2001 at 14:21:53 +0100, G. Soyez wrote:
 It seems that the bug comes from the binutils package and can be solved by
 downgrading binutils.

No it doesn't. The bug is in the kernel sources, and older versions of
binutils just happened not to fail on it whereas the newer one does.

Ray
-- 
Friends don't send friends HTML email
Declan McCullagh on the features of Javascript in email,
http://www.lwn.net/2001/0208/a/htmlprivacy.php3



PHP Compilation error

2001-10-04 Thread Paulo Henrique Baptista de Oliveira

Hi all,

I'm trying to compile php4 on a potato machine from deb srcs to
install php interbase support.
The following error occurs when running debian/rules binary
Any hints?
Thanks, Paulo Henrique


#install the apache modules' files
for i in gd ldap mhash mysql pgsql snmp xml interbase ; do \
install -m 644 -o root -g root \
apache-build/ext/$i/.libs/$i.so \
debian/php4-$i/usr/lib/php4/apache/$i.so; \
done
install: apache-build/ext/ldap/.libs/ldap.so: Arquivo ou diretório não
encontrado
install: apache-build/ext/mhash/.libs/mhash.so: Arquivo ou diretório
não encontrado
install: apache-build/ext/mysql/.libs/mysql.so: Arquivo ou diretório
não encontrado
install: apache-build/ext/pgsql/.libs/pgsql.so: Arquivo ou diretório
não encontrado
install: apache-build/ext/snmp/.libs/snmp.so: Arquivo ou diretório não
encontrado
install: apache-build/ext/xml/.libs/xml.so: Arquivo ou diretório não
encontrado
install: apache-build/ext/interbase/.libs/interbase.so: Arquivo ou
diretório não encontrado
make: ** [install] Erro 1
condor:/usr/local/src/php4/php4-4.0.3pl1# 



-- 
Paulo Henrique B de Oliveira
Gerente de Operações - Linux Solutions -
http://www.linuxsolutions.com.br
O maior conteúdo de Linux em língua portuguesa - OLinux -
http://www.olinux.com.br
(21) 2526-7262 ramal 31



Java compilation error: what is missing?

2001-07-26 Thread Oliver Elphick
PostgreSQL now uses ant to build the JDBC module; so far I have been
unable to get it to build.  Does anyone know what I am missing here?
(The only reference I can find to java.util in Contents is in bock, which
does not look like a package that I should be needing.)

Versions:
ii  jdk1.1-dev 1.1.8v1-3  JDK 1.1.x (Java Development Kit)
ii  jdk1.1 1.1.8v1-3  JDK 1.1.x (Java Development Kit) - Runtime o
ii  java-common0.7Base of all Java packages
ii  ant1.2-1  Java based build tool like make


make[3]: Entering directory `/usr3/home/olly/mypackages/pg7.cvs/pgsql/src/inter
faces/jdbc'
/usr/bin/ant -buildfile ./build.xml all \
  -Dmajor=7 -Dminor=2 -Dfullversion=7.2devel -Ddef_pgport=5531
Buildfile: ./build.xml

all:

prepare:
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interface
s/jdbc/build
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interface
s/jdbc/jars

check_versions:

driver:
 [copy] Copying 1 files to /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/int
erfaces/jdbc/org/postgresql
Configured build for the JDBC1 edition driver

compile:
[javac] Compiling 38 source files to /usr3/home/olly/mypackages/pg7.cvs/pgs
ql/src/interfaces/jdbc/build
[javac] /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
stgresql/Connection.java:805: Method setProperty(java.lang.String, 
java.lang.String) not found in class java.util.Properties.
[javac] info.setProperty(user, PG_USER);
[javac] ^
[javac] /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
stgresql/Connection.java:806: Method setProperty(java.lang.String, 
java.lang.String) not found in class java.util.Properties.
[javac] info.setProperty(password, PG_PASSWORD);
[javac] ^
[javac] 2 errors

BUILD FAILED

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
 
 If any of you lack wisdom, let him ask of God, that 
  giveth to all men liberally, and upbraideth not; and 
  it shall be given him.  James 1:5 




Re: Java compilation error: what is missing?

2001-07-26 Thread dman
On Thu, Jul 26, 2001 at 02:56:16PM +0100, Oliver Elphick wrote:

| ii  jdk1.1 1.1.8v1-3  JDK 1.1.x (Java Development Kit) - Runtime o

| [javac] 
/usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
| stgresql/Connection.java:805: Method setProperty(java.lang.String, 
| java.lang.String) not found in class java.util.Properties.
| [javac]   info.setProperty(user, PG_USER);
| [javac]   ^
| [javac] 
/usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
| stgresql/Connection.java:806: Method setProperty(java.lang.String, 
| java.lang.String) not found in class java.util.Properties.
| [javac]   info.setProperty(password, PG_PASSWORD);
| [javac]   ^
| [javac] 2 errors
| 
| BUILD FAILED

Those methods were added in Java2 (jdk = 1.2).  Install the j2sdk1.3
package from blackdown.org instead and see if that helps.  The newer
the JVM the better it is, usually.  For an apt line you can use this :

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian/ woody 
non-free

-D



Re: Java compilation error: what is missing?

2001-07-26 Thread Oliver Elphick
dman wrote:
  Those methods were added in Java2 (jdk = 1.2).  Install the j2sdk1.3
  package from blackdown.org instead and see if that helps.  The newer
  the JVM the better it is, usually.  For an apt line you can use this :
  
  deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian/ wo
  ody non-free
 
Can it be done with DFSG-free packages?

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
 
 If any of you lack wisdom, let him ask of God, that 
  giveth to all men liberally, and upbraideth not; and 
  it shall be given him.  James 1:5 




Re: Java compilation error: what is missing?

2001-07-26 Thread dman
On Thu, Jul 26, 2001 at 05:47:52PM +0100, Oliver Elphick wrote:
| dman wrote:
|   Those methods were added in Java2 (jdk = 1.2).  Install the j2sdk1.3
|   package from blackdown.org instead and see if that helps.  The newer
|   the JVM the better it is, usually.  For an apt line you can use this :
|   
|   deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian/ 
wo
|   ody non-free
|  
| Can it be done with DFSG-free packages?

I don't think Kaffe is a Java2 VM yet and I don't know of any other
DFSG free JVMs.  Note that the jdk1.1 package isn't DFSG free either.

-D



Kernel Compilation Error

2001-07-16 Thread Case, Benjamin
I just apt-got the kernel-source-2.4.6. I make menuconfiged it and then I
make-kpkg cleaned it, and ran make-kpkg --revision custom.1 kernel_image.
About 10 minutes in to the compilation it stops with this message:

install: cannot stat 'debian/README.debian': No such file or directory
debian/tmp-source/usr/share/doc/kernel-image-2.4.6/Readme.Debian.1st: No
such file or directory
make: *** [kernel-image-deb] Error 1

What have I done wrong ?

Ben



Re: Kernel Compilation Error

2001-07-16 Thread Joost Kooij
On Mon, Jul 16, 2001 at 12:57:04PM -0400, Case, Benjamin wrote:
 I just apt-got the kernel-source-2.4.6. I make menuconfiged it and then I
 make-kpkg cleaned it, and ran make-kpkg --revision custom.1 kernel_image.
 About 10 minutes in to the compilation it stops with this message:
 
 install: cannot stat 'debian/README.debian': No such file or directory
 debian/tmp-source/usr/share/doc/kernel-image-2.4.6/Readme.Debian.1st: No
 such file or directory
 make: *** [kernel-image-deb] Error 1
 
 What have I done wrong ?

Used a buggy version of kernel-package.  ;-)

There are three bugs registered for this already.

http://bugs.debian.org/kernel-package

Workaround described at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=105275repeatmerged=yes

Cheers,


Joost



kernel compilation error

2001-07-06 Thread J.A.Serralheiro
hi. I already posted a question, but got any replies.
Once I had a power fail, and on reboot, there were some errors. So, after
fsck some files in /lib were missing. 

Now im trying to compile kernel 2.4.5 and in keep getting errors
about undefined labels, and unknown variables and things like that.

I'm new at this, only a few months, as mainly as a user. How can I 

put things back so that gcc doesnt complain any longer


I truly apreciate some assistance

greetings
J.A.Serralheiro



Re: kernel compilation error

2001-07-06 Thread Colin Watson
J.A.Serralheiro [EMAIL PROTECTED] wrote:
hi. I already posted a question, but got any replies.

You did. I've cc'ed you directly this time; you might want to check the
web archives at http://lists.debian.org/ if you aren't subscribed to
debian-user, as the convention here is usually to send replies only to
the mailing list.

Once I had a power fail, and on reboot, there were some errors. So, after
fsck some files in /lib were missing. 

Now im trying to compile kernel 2.4.5 and in keep getting errors
about undefined labels, and unknown variables and things like that.

My previous reply was:

| Reinstall libc6 and libc6-dev, and so on? Can't help more without some
| real error messages ...
| 
|   # apt-get --reinstall install libc6 libc6-dev

And Joost Kooij followed up to that with:

| And if that does not work, try make mrproper in the top-level kernel
| source directory.  It is just a wild stab, but the combination of I'm
| using arch-specific options to rebuild my kernel and I get these weird
| errors about undeclared variables somehow strikes a bell with me.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]



compilation error porting gnans ?

2001-06-21 Thread Balbir Thomas
Hi,
I am trying to compile the GNU program gnans (unfortunately unmaintained now ) 
on sid . It used to compile well on potato . But now I get error messages as :

./gnanslib/.libs/libgnanslib.so -lfl -lg++ -lstdc++ -ldl -lXext -lXmu -lXt 
-lX11 -lSM -lICE -ltermcap -lf2c -lm -Wl,-rpath -Wl,/usr/X11R6/lib -Wl,-rpath 
-Wl,/usr/lib/gcc-lib/i386-linux/2.95.4
Plotter.o: In function `Plotter::Plotter(_WidgetRec *, PlotterControl const 
*)':/home/bt/bin/gnans/src/Plotter.cc:210: undefined reference to 
`formWidgetClass'
/home/bt/bin/gnans/src/Plotter.cc:217: undefined reference to 
`menuButtonWidgetClass'
/home/bt/bin/gnans/src/Plotter.cc:218: undefined reference to 
`simpleMenuWidgetClass'
--More--(24%

Could you please tell me which library provides formWidgetClass e.t.c. And 
in general how does one findout which library provides a particular function.

Thanking you
B.Thomas



Re: (Psion) plptools compilation error

2000-10-24 Thread Andre Berger
[EMAIL PROTECTED] (Colin Watson) writes:

 [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] (Colin Watson) writes:
  The code then compiles fine - well, there are a few warnings
  (two-digit years - I can only hope this is just something that the Psion
  link protocol requires), but nothing fatal.
 
 Now I get:
 
 Making all in plpftp
 make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
 ftp.cc: In method `int ftp::session(rfsv , rpcs , int, char **)':
 ftp.cc:339: warning: `%c' yields only last 2 digits of year in some locales
 ftp.cc:369: warning: `%c' yields only last 2 digits of year in some locales
 ftp.cc:461: warning: `%c' yields only last 2 digits of year in some locales
 ftp.cc: In function `char ** do_completion(char *, int, int)':
 ftp.cc:916: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'
 ftp.cc:937: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'
 
 My fault for not testing it before suggesting you install
 libreadline4-dev. :)
 
 I can get it to compile by inserting the cast '(CPFunction *)'
 immediately before 'command_generator' in line 916 and immediately
 before 'filename_generator' in line 937 (so I end up with
 'matches = completion_matches(text, (CPFunction *)command_generator);',
 etc.).
 
 I can't swear that all this is actually going to work; the suggestions
 I've made are the correct ways to get the code to compile, as far as I
 know, but they may mask other problems. If it doesn't *run*, the author
 is probably the best person to hassle. :)
 
 Maybe there's something wrong with my development equipment?
 
 No, your development environment seems to be behaving exactly the same
 way as mine, and I'm pretty sure mine works.

Ok it compiles, but it doesn't work. I've contacted the author, and as
for me, I should really learn C.

Thank you!

-- Andre



Re: (Psion) plptools compilation error

2000-10-23 Thread Andre Berger
[EMAIL PROTECTED] (Colin Watson) writes:

 [EMAIL PROTECTED] wrote:
 Has anyone managed to compile plptools (unfortunately there's no
 Debian package)? I found no email address, and I couldn't even find
 out who's the author.
 
 Where can we get the source code?

Sorry, it's ftp://ftp.to.com/pub/psion/tarballs/plptools-0.6.tar.gz

 
 I get this error on my up-to-date potato system:
 
 Making all in plpftp
 make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
 ftp.cc: In function `int checkAbortHash(long int)':
 ftp.cc:169: implicit declaration of function `int printf(...)'
 ftp.cc:169: `stdout' undeclared (first use this function)
 
 Looks like somebody forgot to #include stdio.h.

Which means?

 -- 
 Colin Watson [EMAIL PROTECTED]
 

-- Andre



Re: (Psion) plptools compilation error

2000-10-23 Thread Colin Watson
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Colin Watson) writes:
 [EMAIL PROTECTED] wrote:
 Has anyone managed to compile plptools (unfortunately there's no
 Debian package)? I found no email address, and I couldn't even find
 out who's the author.
 
 Where can we get the source code?

Sorry, it's ftp://ftp.to.com/pub/psion/tarballs/plptools-0.6.tar.gz

Got it, thanks. For the address of the author, Fritz Elfert, look in
some of the source files; for instance, it's on line 7 of plpftp/ftp.cc.

 Making all in plpftp
 make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
 ftp.cc: In function `int checkAbortHash(long int)':
 ftp.cc:169: implicit declaration of function `int printf(...)'
 ftp.cc:169: `stdout' undeclared (first use this function)
 
 Looks like somebody forgot to #include stdio.h.

Which means?

It's the author's fault. In C, if you use certain functions or
variables, you need to include the appropriate header files into your
program from the libraries that define them. For printf() et al, you
need stdio, the standard input/output library. The author did include
this, but only if you have the development readline libraries available;
unfortunately this is bogus, because he uses things like printf() and
stdout unconditionally.

(You probably want to have the development readline libraries installed
while compiling this anyway. Install the libreadline4-dev package.)

Go to plpftp/ftp.cc line 46, remove that line (which should read
'#include stdio.h'), and move it up to the topmost block of #include
directives. The code then compiles fine - well, there are a few warnings
(two-digit years - I can only hope this is just something that the Psion
link protocol requires), but nothing fatal.

Cheers,

-- 
Colin Watson [EMAIL PROTECTED]



Re: (Psion) plptools compilation error

2000-10-23 Thread Andre Berger
[EMAIL PROTECTED] (Colin Watson) writes:

 [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] (Colin Watson) writes:
  [EMAIL PROTECTED] wrote:
  Has anyone managed to compile plptools (unfortunately there's no
  Debian package)? I found no email address, and I couldn't even find
  out who's the author.
  
  Where can we get the source code?
 
 Sorry, it's ftp://ftp.to.com/pub/psion/tarballs/plptools-0.6.tar.gz
 
 Got it, thanks. For the address of the author, Fritz Elfert, look in
 some of the source files; for instance, it's on line 7 of plpftp/ftp.cc.
 
  Making all in plpftp
  make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
  g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
  ftp.cc: In function `int checkAbortHash(long int)':
  ftp.cc:169: implicit declaration of function `int printf(...)'
  ftp.cc:169: `stdout' undeclared (first use this function)
  
  Looks like somebody forgot to #include stdio.h.
 
 Which means?
 
 It's the author's fault. In C, if you use certain functions or
 variables, you need to include the appropriate header files into your
 program from the libraries that define them. For printf() et al, you
 need stdio, the standard input/output library. The author did include
 this, but only if you have the development readline libraries available;
 unfortunately this is bogus, because he uses things like printf() and
 stdout unconditionally.
 
 (You probably want to have the development readline libraries installed
 while compiling this anyway. Install the libreadline4-dev package.)

ok

 Go to plpftp/ftp.cc line 46, remove that line (which should read
 '#include stdio.h'), and move it up to the topmost block of #include
 directives. 

I put it on top of them.

 The code then compiles fine - well, there are a few warnings
 (two-digit years - I can only hope this is just something that the Psion
 link protocol requires), but nothing fatal.

Now I get:

Making all in plpftp
make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
ftp.cc: In method `int ftp::session(rfsv , rpcs , int, char **)':
ftp.cc:339: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:369: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:461: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc: In function `char ** do_completion(char *, int, int)':
ftp.cc:916: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'
ftp.cc:937: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'
ftp.cc: At top level:
ftp.cc:56: warning: `class rpcs * comp_r' defined but not used
make[1]: *** [ftp.o] Error 1
make[1]: Leaving directory `/home/andre/plptools-0.6/plpftp'
make: *** [all-recursive] Error 1

Maybe there's something wrong with my development equipment?

-- Andre



Re: (Psion) plptools compilation error

2000-10-23 Thread Colin Watson
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Colin Watson) writes:
 The code then compiles fine - well, there are a few warnings
 (two-digit years - I can only hope this is just something that the Psion
 link protocol requires), but nothing fatal.

Now I get:

Making all in plpftp
make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
ftp.cc: In method `int ftp::session(rfsv , rpcs , int, char **)':
ftp.cc:339: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:369: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:461: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc: In function `char ** do_completion(char *, int, int)':
ftp.cc:916: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'
ftp.cc:937: ANSI C++ prohibits conversion from `(char *, int)' to `(...)'

My fault for not testing it before suggesting you install
libreadline4-dev. :)

I can get it to compile by inserting the cast '(CPFunction *)'
immediately before 'command_generator' in line 916 and immediately
before 'filename_generator' in line 937 (so I end up with
'matches = completion_matches(text, (CPFunction *)command_generator);',
etc.).

I can't swear that all this is actually going to work; the suggestions
I've made are the correct ways to get the code to compile, as far as I
know, but they may mask other problems. If it doesn't *run*, the author
is probably the best person to hassle. :)

Maybe there's something wrong with my development equipment?

No, your development environment seems to be behaving exactly the same
way as mine, and I'm pretty sure mine works.

Cheers,

-- 
Colin Watson [EMAIL PROTECTED]



Re: (Psion) plptools compilation error

2000-10-22 Thread Colin Watson
[EMAIL PROTECTED] wrote:
Has anyone managed to compile plptools (unfortunately there's no
Debian package)? I found no email address, and I couldn't even find
out who's the author.

Where can we get the source code?

I get this error on my up-to-date potato system:

Making all in plpftp
make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
ftp.cc: In function `int checkAbortHash(long int)':
ftp.cc:169: implicit declaration of function `int printf(...)'
ftp.cc:169: `stdout' undeclared (first use this function)

Looks like somebody forgot to #include stdio.h.

-- 
Colin Watson [EMAIL PROTECTED]



(Psion) plptools compilation error

2000-10-21 Thread Andre Berger
Has anyone managed to compile plptools (unfortunately there's no
Debian package)? I found no email address, and I couldn't even find
out who's the author.

I get this error on my up-to-date potato system:

Making all in plpftp
make[1]: Entering directory `/home/andre/plptools-0.6/plpftp'
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib-O2 -Wall -c ftp.cc
ftp.cc: In function `int checkAbortHash(long int)':
ftp.cc:169: implicit declaration of function `int printf(...)'
ftp.cc:169: `stdout' undeclared (first use this function)
ftp.cc:169: (Each undeclared identifier is reported only once
ftp.cc:169: for each function it appears in.)
ftp.cc:169: implicit declaration of function `int fflush(...)'
ftp.cc: In function `void sigint_handler2(int)':
ftp.cc:183: `stdin' undeclared (first use this function)
ftp.cc:183: implicit declaration of function `int fclose(...)'
ftp.cc: In method `int ftp::session(rfsv , rpcs , int, char **)':
ftp.cc:339: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:369: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:461: warning: `%c' yields only last 2 digits of year in some locales
ftp.cc:786: implicit declaration of function `int sscanf(...)'
ftp.cc:794: implicit declaration of function `int sprintf(...)'
ftp.cc: At top level:
ftp.cc:56: warning: `class rpcs * comp_r' defined but not used
make[1]: *** [ftp.o] Error 1
make[1]: Leaving directory `/home/andre/plptools-0.6/plpftp'
make: *** [all-recursive] Error 1

-- Andre



Kernel compilation -- Error 127 after trying Make bzImage

2000-10-09 Thread Ulrich
I tried to compile a kernel from the 2.2.17-source.
Up to 'make dep' and 'make clean', everything went fine. 
Make bzImage stops with following error-message:
   as86 -0 -a -o bbootsect.o bbootsect.s
   Make(1): as86: Command not found
   Make(1): *** [bbootsect.o] Error 127
   Make: *** [bzImage] error 2

For the configuration, I have used my 2.2.14 config-file, and went 
through the configuration process by checking whether everything is stil 
up to date.

Does anybody know what's wrong ?

P.S. I'm no longer subscribed to this list (due to huge amount of 
traffic), so please send a copy of your reply (thank you, thank you :-) 
to my e-mail adress.

Ulrich



Re: Kernel compilation -- Error 127 after trying Make bzImage

2000-10-09 Thread John McBride
Ulrich wrote:
 
 I tried to compile a kernel from the 2.2.17-source.
 Up to 'make dep' and 'make clean', everything went fine.
 Make bzImage stops with following error-message:
as86 -0 -a -o bbootsect.o bbootsect.s
Make(1): as86: Command not found
Make(1): *** [bbootsect.o] Error 127
Make: *** [bzImage] error 2
 
 For the configuration, I have used my 2.2.14 config-file, and went
 through the configuration process by checking whether everything is stil
 up to date.
 
 Does anybody know what's wrong ?
 
 P.S. I'm no longer subscribed to this list (due to huge amount of
 traffic), so please send a copy of your reply (thank you, thank you :-)
 to my e-mail adress.
 
 Ulrich
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

apt-get install bin86



Re: Kernel Compilation Error?

1999-08-18 Thread Mark Wagnon
On Wed 08/18/99 01:01AM, Heikki Vatiainen wrote:

 My guess is that your gcc is too new. In my potato system I have 
 these too compilers installed:
 
 % gcc --version
 2.95.1
 % gcc272 --version
 2.7.2.3

for me:

# gcc --version
egcs-2.91 (something like that)

I installed the gcc and gcc272 packages and made the changes in
the top Makefile and the kernel compiled without a hiccup.

 I hope this helps,

It sure did :)
-- 
 (   __   _
Mark Wagnon   ) Debian GNU/ -o) / /  (_)__  __   __
Chula Vista, CA  (  /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] ) www.debian.org _\_v/_/_//_/\_,_/ /_/\_\


Kernel Compilation Error?

1999-08-17 Thread Mark Wagnon
Hi all,

I'm trying to compile a 2.0.36 kernel on my potato system, but I
keep getting this error:

  init/main.c: In function `get_options':
  init/main.c:272: warning: subscript has type `char'
  make: *** [init/main.o] Error 1

I've downloaded the sources from several places, but it still
bails.

I've installed (and reinstalled) the kernel-sources-2.0.36
package, so I think (hope) all dependencies are met.

I am able to compile a 2.2.* kernel (at least I was a couple
weeks ago).

Any ideas?

TIA
-- 
 (   __   _
Mark Wagnon   ) Debian GNU/ -o) / /  (_)__  __   __
Chula Vista, CA  (  /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] ) www.debian.org _\_v/_/_//_/\_,_/ /_/\_\


Re: Kernel Compilation Error?

1999-08-17 Thread Heikki Vatiainen
Mark Wagnon [EMAIL PROTECTED] wrote:
 I'm trying to compile a 2.0.36 kernel on my potato system, but I
 keep getting this error:
 
   init/main.c: In function `get_options':
   init/main.c:272: warning: subscript has type `char'
   make: *** [init/main.o] Error 1

My guess is that your gcc is too new. In my potato system I have 
these too compilers installed:

% gcc --version
2.95.1
% gcc272 --version
2.7.2.3

When I just tried compiling 2.0.36 kernel, I had to edit the 
toplevel kernel Makefile and replace all the instances of string 
gcc with gcc272 to get the compile going.

You might want to do the same thing and install the gcc272 package.
Read /usr/doc/gcc272/README.Debian for more info about the old and 
new gcc.

 I've downloaded the sources from several places, but it still
 bails.

Your source is probably correct, you just need the correct 
compiler.
 
 I am able to compile a 2.2.* kernel (at least I was a couple
 weeks ago).

Same here. 2.2.* compiles with the newer gcc, but the older 
kernels need older gcc.
 
 Any ideas?
 
 TIA

I hope this helps,

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



Kernel compilation error / Kernel too big.

1998-11-21 Thread Andrew Ivanov
I just finished compiling my own kernel( 2.0.34), and it comes out of size
788K, which is too big for Lilo to handle.
Are there any ways around it?

I tried make bzImage, like HOWTO suggested, but at the end of compilation
I get:
as86 -0 -a -o bbootsect.o bbootsect.a
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory '/usr/src/kernel-source-2.0.34/arch/i386/boot/
make: *** [bzImage] Error 2

It still produces a vmlinux file in /usr/src, though. But I don't know if
this is how bzImage is supposed to work.
Any ideas on what to do about that error and/or how to make LILO work with
a kernel of that size?

TIA,
 Andrew


Re: Kernel compilation error / Kernel too big.

1998-11-21 Thread Ed Cogburn
Andrew Ivanov wrote:
 
 I just finished compiling my own kernel( 2.0.34), and it comes out of size
 788K, which is too big for Lilo to handle.
 Are there any ways around it?
 
 I tried make bzImage, like HOWTO suggested, but at the end of compilation
 I get:
 as86 -0 -a -o bbootsect.o bbootsect.a
 make[1]: as86: Command not found
  


This means you need to load the bin86 package, which is needed on i386
platforms to build the kernel.


 make[1]: *** [bbootsect.o] Error 127
 make[1]: Leaving directory '/usr/src/kernel-source-2.0.34/arch/i386/boot/
 make: *** [bzImage] Error 2
 
 It still produces a vmlinux file in /usr/src, though. But I don't know if
 this is how bzImage is supposed to work.
 Any ideas on what to do about that error and/or how to make LILO work with
 a kernel of that size?
 
 TIA,
  Andrew
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Ed C.


Re: Kernel compilation error / Kernel too big.

1998-11-21 Thread Hamish Moffatt
On Sat, Nov 21, 1998 at 02:30:12AM -0600, Andrew Ivanov wrote:
 I just finished compiling my own kernel( 2.0.34), and it comes out of size
 788K, which is too big for Lilo to handle.
 Are there any ways around it?
 
 I tried make bzImage, like HOWTO suggested, but at the end of compilation
 I get:
 as86 -0 -a -o bbootsect.o bbootsect.a
 make[1]: as86: Command not found
 make[1]: *** [bbootsect.o] Error 127
 make[1]: Leaving directory '/usr/src/kernel-source-2.0.34/arch/i386/boot/
 make: *** [bzImage] Error 2
 
 It still produces a vmlinux file in /usr/src, though. But I don't know if
 this is how bzImage is supposed to work.
 Any ideas on what to do about that error and/or how to make LILO work with
 a kernel of that size?

You need to install the binutils package; it contains as86.
The vmlinux file is not the kernel you want to use with LILO;
use arch/i386/boot/zImage or bzImage instead.

Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: Kernel compilation error / Kernel too big.

1998-11-21 Thread Andrew Ivanov
I have binutils 2.9.1-0.2 installed, which is what I think , at least
this is a requirement for kernel source, as it's said on www.debian.org
And compilation ran with binutils installed, and I got that error.
Andrew



Never include a comment that will help | Andrew Ivanov
someone else understand your code. | [EMAIL PROTECTED]
If they understand it, they don't  | ICQ: 12402354
need you.  |


Re: Kernel compilation error : Got it.

1998-11-21 Thread Andrew Ivanov
Thank you for fast response. bin86 was the package needed.
Andrew


Never include a comment that will help | Andrew Ivanov
someone else understand your code. | [EMAIL PROTECTED]
If they understand it, they don't  | ICQ: 12402354
need you.  |


Re: Kernel compilation error / Kernel too big.

1998-11-21 Thread Ed Cogburn
Andrew Ivanov wrote:
 
 I have binutils 2.9.1-0.2 installed, which is what I think , at least
 this is a requirement for kernel source, as it's said on www.debian.org
 And compilation ran with binutils installed, and I got that error.
 Andrew
 


The as86 program is in the 'bin86' package, NOT binutils.


-- 
Ed C.


Re: Imlib compilation error

1998-03-30 Thread Shaleh
Christopher J. McNicholas wrote:
 
 First I would like to extend a thanks to all of you who helped me
 with my imake madness problem. Since then, I have installed the GNU
 autoconf in the hopes that *it* might work.
 At this time, I am having problems at the gdk_imlib make install.
 I get the following two error messages:
 
 gdk_imlib_types.h:7: gdk/gdk.h : No such file or directory
 gdk_imlib_types.h:8: gdk/gdkprivate.h: No such file or directory
 make : *** [cache.o] Error 1
 
 Does anyone have any idea what I need to do?
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

If you use hamm, there is both a imlib and a gdk_imlib package(which I
maintain).  If not then you need to have gtk-dev installed to compile
gdk_imlib.  Those are the files it says are missing.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Imlib compilation error

1998-03-29 Thread Christopher J. McNicholas
First I would like to extend a thanks to all of you who helped me 
with my imake madness problem. Since then, I have installed the GNU 
autoconf in the hopes that *it* might work.
At this time, I am having problems at the gdk_imlib make install.
I get the following two error messages:

gdk_imlib_types.h:7: gdk/gdk.h : No such file or directory
gdk_imlib_types.h:8: gdk/gdkprivate.h: No such file or directory
make : *** [cache.o] Error 1


Does anyone have any idea what I need to do?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


dns compilation error

1998-01-29 Thread eugene mendoza


Dear Linux users,
Am trying to set up bind ver 8.00.
Files were written in bind ver 4 format.
Tried using  named-bootconf.pl to do conversion.
It gave the following error message
Cant modify subroutine entry in scalar assignment at
/usr/sbin/named-bootconf.pl line 30 near ;
the line in question is
$new_config = ;
Can you help me with this one please
Regards,
Eugene





_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dns compilation error

1998-01-29 Thread Martin Bialasinski
eugene mendoza [EMAIL PROTECTED] writes:

 Tried using  named-bootconf.pl to do conversion.
 It gave the following error message
 Cant modify subroutine entry in scalar assignment at
 /usr/sbin/named-bootconf.pl line 30 near ;
 the line in question is
 $new_config = ;

You are sure, you use the debian bind package?

bash-2.01$ dpkg -l bind
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersionDescription
+++-===-==-
ii  bind8.1.1-4An Internet domain name server   

bash-2.01$ perl -c /usr/sbin/named-bootconf.pl
named-bootconf.pl syntax OK  

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Kernel-compilation error no.2

1997-05-11 Thread Hamish Moffatt
On Sat, May 10, 1997 at 11:40:55AM -0400, Rick Jones wrote:
 On Sat, 10 May 1997, Johann Spies wrote:
 
  defxx.o(.text+0x15a): undefined reference to `pcibios_present'
  defxx.o(.text+0x188): undefined reference to `pcibios_find_device'

 I'm not a developer, but it may be that you have PCI and have set some PCI
 options that require others that aren't set.  So when it tries to gain the
 needed info for one feature it can't get the info because the needed
 feature isn't in the include path.

You used to get problems like these if you turned off PCI, but compiled
in a driver that used PCI, like some of the network cards. (I'm recalling
this from the 1.2.x days.) Usually this happens when you compile in all
the network drivers, rather than just the ones you need.

It doesn't really hurt to have PCI enabled when you don't have a PCI
machine, anyway.


Hamish
-- 
Hamish Moffatt, StudIEAust[EMAIL PROTECTED]
Student, computer science  computer systems engineering.3rd year, RMIT.
http://yallara.cs.rmit.edu.au/~moffatt (PGP key here) CPOM: [  ] 42%


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Kernel-compilation error no.2

1997-05-10 Thread Johann Spies
After my previous message I changed the configuration for the kernel
slightly (I cannot remember what I changed) and the compilation process
again aborted. 

Here is the last few lines of output: 

0make[2]: Leaving directory `/usr/src/kernel-source-2.0.30/arch/i386/math-emu'
make[1]: Leaving directory `/usr/src/kernel-source-2.0.30/arch/i386/math-emu'
ld -m elf_i386 -Ttext 0x10 -e stext arch/i386/kernel/head.o init/main.o 
init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a 
arch/i386/math-emu/math.a \
/usr/src/kernel-source-2.0.30/arch/i386/lib/lib.a 
/usr/src/kernel-source-2.0.30/lib/lib.a 
/usr/src/kernel-source-2.0.30/arch/i386/lib/lib.a -o vmlinux
drivers/net/net.a(defxx.o): In function `dfx_probe':
defxx.o(.text+0x15a): undefined reference to `pcibios_present'
defxx.o(.text+0x188): undefined reference to `pcibios_find_device'
defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word'
defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word'
defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word'
drivers/net/net.a(defxx.o): In function `dfx_bus_init':
defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte'
defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte'
defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte'
make: *** [vmlinux] Error 1

I have gcc version 2.7.2.1.

Can somebody help me please.  This is my first try and I realy do not know
what to do.

It would be a lovely day when things start working as they should!

Johann

Johann Spies
[EMAIL PROTECTED]

Windsorlaan 19
Pietermaritzburg
3201
Suid Afrika (South Africa)
Tel. Nr. 0331-46-1310


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: Kernel-compilation error no.2

1997-05-10 Thread Rick Jones
On Sat, 10 May 1997, Johann Spies wrote:

 defxx.o(.text+0x15a): undefined reference to `pcibios_present'
 defxx.o(.text+0x188): undefined reference to `pcibios_find_device'
 defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word'
 defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word'
 defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word'
 drivers/net/net.a(defxx.o): In function `dfx_bus_init':
 defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte'
 defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte'
 defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte'
 make: *** [vmlinux] Error 1

I'm not a developer, but it may be that you have PCI and have set some PCI
options that require others that aren't set.  So when it tries to gain the
needed info for one feature it can't get the info because the needed
feature isn't in the include path.

Just a guess.  Hope it helps.


--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Kernel-compilation error no.2

1997-05-10 Thread Johann Spies

On Sat, 10 May 1997, Rick Jones wrote:

 On Sat, 10 May 1997, Johann Spies wrote:
 
  defxx.o(.text+0x15a): undefined reference to `pcibios_present'
  defxx.o(.text+0x188): undefined reference to `pcibios_find_device'
  defxx.o(.text+0x1c2): undefined reference to `pcibios_read_config_word'
  defxx.o(.text+0x20e): undefined reference to `pcibios_write_config_word'
  defxx.o(.text+0x226): undefined reference to `pcibios_read_config_word'
  drivers/net/net.a(defxx.o): In function `dfx_bus_init':
  defxx.o(.text+0x5c8): undefined reference to `pcibios_read_config_byte'
  defxx.o(.text+0x5e7): undefined reference to `pcibios_read_config_byte'
  defxx.o(.text+0x612): undefined reference to `pcibios_write_config_byte'
  make: *** [vmlinux] Error 1
 
 I'm not a developer, but it may be that you have PCI and have set some PCI
 options that require others that aren't set.  So when it tries to gain the
 needed info for one feature it can't get the info because the needed
 feature isn't in the include path.

The problem is that I have no PCI and did not select PCI in the
configuration process (make xconfig).

I am now downloading the kernel-source (2.0.29) as somebody suggested
that 2.0.30 might be unstable. 

Thanks for your response.

Johann.

Johann Spies
[EMAIL PROTECTED]

Windsorlaan 19
Pietermaritzburg
3201
Suid Afrika (South Africa)
Tel. Nr. 0331-46-1310


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Kernel-compilation error no.2

1997-05-10 Thread Rick Jones
On Sat, 10 May 1997, Johann Spies wrote:

 The problem is that I have no PCI and did not select PCI in the
 configuration process (make xconfig).

I thought that at first but didn't think that compiling the kernel without
PCI enabled it would figure it out for it's self.  If so how could you
compile a kernel for another machine?

 I am now downloading the kernel-source (2.0.29) as somebody suggested
 that 2.0.30 might be unstable. 

From what I'm hearing, the only bug in this kernel involves modules.
There was a previous posting on editing the modules file to install them
correctly for 2.0.30.

Other than that it actually fixes some problems with 2.0.29.  IP masq for
example.  Maybe adds feature would be a better description.

--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .