All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile-time errors
@ 2000-03-15 15:05 Marius Bogoevici
  2000-03-15 16:11 ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: Marius Bogoevici @ 2000-03-15 15:05 UTC (permalink / raw)
  To: MTD mailing list

While compiling the mtd-20000131 with a  a 2.3.47 kernel I have received the
following messages:

make -C /usr/src/linux SUBDIRS=/usr/src/mtd-20000131/ffs2 modules
make[1]: Entering directory `/usr/src/linux-2.3.47'
make -C  /usr/src/mtd-20000131/ffs2
CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.3.47/include -D__SMP__ -Wall -Wstric
t-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe   -DCPU=686
 -march=i686 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/mtd-20000131/ffs2'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.47/include -D__SMP__ -Wall -Wstrict-pr
ototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe   -DCPU=686 -ma
rch=i686 -DMODULE   -c -o super.o super.c
super.c: In function `ffs2_read_super':
super.c:1003: too many arguments to function `d_alloc_root'
super.c: In function `ffs2_readpage':
super.c:1222: structure has no member named `offset'
super.c:1224: structure has no member named `offset'
super.c:1272: structure has no member named `offset'
super.c:1280: structure has no member named `offset'
super.c:1281: structure has no member named `offset'
super.c:1283: structure has no member named `offset'
super.c: In function `ffs2_file_write':
super.c:1674: warning: implicit declaration of function `update_vm_cache'
super.c: At top level:
super.c:1736: warning: initialization from incompatible pointer type
super.c:1739: warning: excess elements in struct initializer after
`ffs2_file_inode_operations'
super.c:1740: warning: excess elements in struct initializer after
`ffs2_file_inode_operations'
super.c:1741: warning: excess elements in struct initializer after
`ffs2_file_inode_operations'
super.c:1779: warning: excess elements in struct initializer after
`ffs2_dir_inode_operations'
super.c:1780: warning: excess elements in struct initializer after
`ffs2_dir_inode_operations'
super.c:1781: warning: excess elements in struct initializer after
`ffs2_dir_inode_operations'
super.c:1801: warning: excess elements in struct initializer after
`ffs2_link_inode_operations'
super.c:1802: warning: excess elements in struct initializer after
`ffs2_link_inode_operations'
super.c:1803: warning: excess elements in struct initializer after
`ffs2_link_inode_operations'
super.c:1813: `chrdev_inode_operations' undeclared here (not in a function)
super.c:1813: initializer element for `ffs2_inoops[5]' is not constant
super.c:1841: warning: function declaration isn't a prototype
super.c:1855: warning: function declaration isn't a prototype
make[2]: *** [super.o] Error 1
make[2]: Leaving directory `/usr/src/mtd-20000131/ffs2'
make[1]: *** [_mod_/usr/src/mtd-20000131/ffs2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.47'
make: *** [all] Error 2

I require a little help with this. Thanks in advance !

-- Marius Bogoevici
CoRES Alarm, SA




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Compile-time errors
  2000-03-15 15:05 Compile-time errors Marius Bogoevici
@ 2000-03-15 16:11 ` David Woodhouse
  2000-03-15 17:14   ` Jason Gunthorpe
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2000-03-15 16:11 UTC (permalink / raw)
  To: Marius Bogoevici; +Cc: MTD mailing list, jgg


marius_bogoevici@electronic.cores.ro said:
> While compiling the mtd-20000131 with a  a 2.3.47 kernel I have
> received the following messages:

I don't think the FFS code compiles on 2.3 kernels - it was developed on 2.2

Jason - have you made any progress on this recently?

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Compile-time errors
  2000-03-15 16:11 ` David Woodhouse
@ 2000-03-15 17:14   ` Jason Gunthorpe
  0 siblings, 0 replies; 5+ messages in thread
From: Jason Gunthorpe @ 2000-03-15 17:14 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Marius Bogoevici, MTD mailing list


On Wed, 15 Mar 2000, David Woodhouse wrote:

> I don't think the FFS code compiles on 2.3 kernels - it was developed on 2.2

In early 2.3 it could with a few minor changes, probably not anymore, the
VFS seems to be the most dynamic part of the kernel!
 
> Jason - have you made any progress on this recently?

No, I am not working on it till summer, if at all.

Jason



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* compile-time errors
@ 2007-08-17 19:39 Sussman, Scott
  2007-08-18 14:25 ` Jorge Davila
  0 siblings, 1 reply; 5+ messages in thread
From: Sussman, Scott @ 2007-08-17 19:39 UTC (permalink / raw)
  To: netfilter

Hi,
 
I am trying to compile libnetfilters_queue.0.0.15 with
libnfnetlink-0.0.16 and am getting the following compile time errors,
any help would be appreciated:
 
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libnetfilter_queue\" -DVERSION=\"0.0.15\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-I. -I. -I../include -I
-I/localdisk/netfilters/libnfnetlink-0.0.30/include/ -fPIC -Wall -g -O2
-I/home/ssussman/lib/include -MT libnetfilter_queue.lo -MD -MP -MF
.deps/libnetfilter_queue.Tpo -c libnetfilter_queue.c  -fPIC -DPIC -o
.libs/libnetfilter_queue.o
In file included from libnetfilter_queue.c:33:
../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: `struct
nlif_handle' declared inside parameter list
../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: its
scope is only this definition or declaration, which is probably not what
you want
../include/libnetfilter_queue/libnetfilter_queue.h:86: warning: `struct
nlif_handle' declared inside parameter list
../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: `struct
nlif_handle' declared inside parameter list
../include/libnetfilter_queue/libnetfilter_queue.h:90: warning: `struct
nlif_handle' declared inside parameter list
libnetfilter_queue.c:423: warning: `struct nlif_handle' declared inside
parameter list
libnetfilter_queue.c:424: error: conflicting types for
`nfq_get_indev_name'
../include/libnetfilter_queue/libnetfilter_queue.h:84: error: previous
declaration of `nfq_get_indev_name'
libnetfilter_queue.c: In function `nfq_get_indev_name':
libnetfilter_queue.c:426: warning: implicit declaration of function
`nlif_index2name'
libnetfilter_queue.c: At top level:
libnetfilter_queue.c:430: warning: `struct nlif_handle' declared inside
parameter list
libnetfilter_queue.c:431: error: conflicting types for
`nfq_get_physindev_name'
../include/libnetfilter_queue/libnetfilter_queue.h:86: error: previous
declaration of `nfq_get_physindev_name'
libnetfilter_queue.c:437: warning: `struct nlif_handle' declared inside
parameter list
libnetfilter_queue.c:438: error: conflicting types for
`nfq_get_outdev_name'
../include/libnetfilter_queue/libnetfilter_queue.h:88: error: previous
declaration of `nfq_get_outdev_name'
libnetfilter_queue.c:444: warning: `struct nlif_handle' declared inside
parameter list
libnetfilter_queue.c:445: error: conflicting types for
`nfq_get_physoutdev_name'
../include/libnetfilter_queue/libnetfilter_queue.h:90: error: previous
declaration of `nfq_get_physoutdev_name'
make[1]: *** [libnetfilter_queue.lo] Error 1
make[1]: Leaving directory
`/localdisk/netfilters/libnetfilter_queue-0.0.15/src'
make: *** [all-recursive] Error 1


Thanks,

Scott


"This email message and any attachments are confidential information of Starent Networks, Corp. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster@starentnetworks.com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you."


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

* Re: compile-time errors
  2007-08-17 19:39 compile-time errors Sussman, Scott
@ 2007-08-18 14:25 ` Jorge Davila
  0 siblings, 0 replies; 5+ messages in thread
From: Jorge Davila @ 2007-08-18 14:25 UTC (permalink / raw)
  To: Sussman, Scott, netfilter

Hello Sussman,

Well, are you tried the compilation with gcc 3.3 ??

Jorge Dávila.

On Fri, 17 Aug 2007 15:39:39 -0400
  "Sussman, Scott" <ssussman@starentnetworks.com> wrote:
> Hi,
> 
> I am trying to compile libnetfilters_queue.0.0.15 with
> libnfnetlink-0.0.16 and am getting the following compile time errors,
> any help would be appreciated:
> 
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"libnetfilter_queue\" -DVERSION=\"0.0.15\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -I. -I. -I../include -I
> -I/localdisk/netfilters/libnfnetlink-0.0.30/include/ -fPIC -Wall -g -O2
> -I/home/ssussman/lib/include -MT libnetfilter_queue.lo -MD -MP -MF
> .deps/libnetfilter_queue.Tpo -c libnetfilter_queue.c  -fPIC -DPIC -o
> .libs/libnetfilter_queue.o
> In file included from libnetfilter_queue.c:33:
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: warning: its
> scope is only this definition or declaration, which is probably not what
> you want
> ../include/libnetfilter_queue/libnetfilter_queue.h:86: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:88: warning: `struct
> nlif_handle' declared inside parameter list
> ../include/libnetfilter_queue/libnetfilter_queue.h:90: warning: `struct
> nlif_handle' declared inside parameter list
> libnetfilter_queue.c:423: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:424: error: conflicting types for
> `nfq_get_indev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:84: error: previous
> declaration of `nfq_get_indev_name'
> libnetfilter_queue.c: In function `nfq_get_indev_name':
> libnetfilter_queue.c:426: warning: implicit declaration of function
> `nlif_index2name'
> libnetfilter_queue.c: At top level:
> libnetfilter_queue.c:430: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:431: error: conflicting types for
> `nfq_get_physindev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:86: error: previous
> declaration of `nfq_get_physindev_name'
> libnetfilter_queue.c:437: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:438: error: conflicting types for
> `nfq_get_outdev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:88: error: previous
> declaration of `nfq_get_outdev_name'
> libnetfilter_queue.c:444: warning: `struct nlif_handle' declared inside
> parameter list
> libnetfilter_queue.c:445: error: conflicting types for
> `nfq_get_physoutdev_name'
> ../include/libnetfilter_queue/libnetfilter_queue.h:90: error: previous
> declaration of `nfq_get_physoutdev_name'
> make[1]: *** [libnetfilter_queue.lo] Error 1
> make[1]: Leaving directory
> `/localdisk/netfilters/libnetfilter_queue-0.0.15/src'
> make: *** [all-recursive] Error 1
> 
> 
> Thanks,
> 
> Scott
> 
> 
> "This email message and any attachments are confidential information of 
>Starent Networks, Corp. The information transmitted may not be used to 
>create or change any contractual obligations of Starent Networks, Corp. 
> Any review, retransmission, dissemination or other use of, or taking of 
>any action in reliance upon this e-mail and its attachments by persons or 
>entities other than the intended recipient is prohibited. If you are not 
>the intended recipient, please notify the sender immediately -- by replying 
>to this message or by sending an email to postmaster@starentnetworks.com -- 
>and destroy all copies of this message and any attachments without reading 
>or disclosing their contents. Thank you."
> 
> 

Jorge Isaac Davila Lopez
Nicaragua Open Source
+505 430 5462
davila@nicaraguaopensource.com


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

end of thread, other threads:[~2007-08-18 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 19:39 compile-time errors Sussman, Scott
2007-08-18 14:25 ` Jorge Davila
  -- strict thread matches above, loose matches on Subject: below --
2000-03-15 15:05 Compile-time errors Marius Bogoevici
2000-03-15 16:11 ` David Woodhouse
2000-03-15 17:14   ` Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.