Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* warning during compilation
@ 2004-11-08  9:23 krishnakant
  2004-11-08 14:09 ` Atro Tossavainen
  0 siblings, 1 reply; 2+ messages in thread
From: krishnakant @ 2004-11-08  9:23 UTC (permalink / raw)


HI,

Iam compiling my source code on debian linux kernel 2.6 for broacaom
57ox and previously the source code was there for tru64 os and now we
had ported the code to debian linux 2.6 and i am getting the following
warnings

uabgembt@112-27A:~/kant/kant1/kant2$ gcc -c scn_buffer.c
scn_buffer.c: In function `scn_buffP_new':
scn_buffer.c:52: warning: cast to pointer from integer of different
size
scn_buffer.c:57: warning: cast to pointer from integer of different
size

uabgembt@112-27A:~/kant/kant1/kant2$ gcc -c scn_timer.c
scn_timer.c: In function `tm_start':
scn_timer.c:193: warning: cast to pointer from integer of different
size


Can any one kindly help me in this regard as to how to remove these
warnings.

Assistance is highly appreciated in this regard.


Thanks,
Krishnakant


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: warning during compilation
  2004-11-08  9:23 warning during compilation krishnakant
@ 2004-11-08 14:09 ` Atro Tossavainen
  0 siblings, 0 replies; 2+ messages in thread
From: Atro Tossavainen @ 2004-11-08 14:09 UTC (permalink / raw)


kant2073@yahoo.com (krishnakant) writes:

> Iam compiling my source code on debian linux kernel 2.6 for broacaom
> 57ox and previously the source code was there for tru64 os and now we
> had ported the code to debian linux 2.6 and i am getting the following
> warnings

Sorry for asking some stupid questions, but:

If you have to ask such questions, how do you expect to be able to port
kernel driver code from Tru64 to Linux?

Also, assuming "broacaom 57ox" means "Broadcom 570x", why not simply
use the tg3 driver?  It's already there in the Linux kernel.

> Can any one kindly help me in this regard as to how to remove these
> warnings.

The code may not do anything meaningful on your computer even if you
manage to correct some minor syntax issues in it.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-08 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08  9:23 warning during compilation krishnakant
2004-11-08 14:09 ` Atro Tossavainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox