From: Eric Dumazet <dada1@cosmosbay.com>
To: "Rémi Denis-Courmont" <remi.denis-courmont@nokia.com>
Cc: ext Eric Dumazet <eric.dumazet@gmail.com>,
Linux Netdev List <netdev@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: net-next-2.6 phonet causes build error
Date: Mon, 27 Jul 2009 10:09:24 +0200 [thread overview]
Message-ID: <4A6D60B4.1070601@cosmosbay.com> (raw)
In-Reply-To: <200907271106.02456.remi.denis-courmont@nokia.com>
Rémi Denis-Courmont a écrit :
> On Monday 27 July 2009 10:03:06 ext Eric Dumazet wrote:
>> Rémi Denis-Courmont a écrit :
>>> On Sunday 26 July 2009 21:43:11 ext Oliver Hartkopp wrote:
>>>> i got this build error from the latest net-next-2.6:
>>>>
>>>> net/phonet/pn_dev.c: In function ‘phonet_init_net’:
>>>> net/phonet/pn_dev.c:221: error: implicit declaration of function
>>>> ‘proc_net_fops_create’
>>>> net/phonet/pn_dev.c: In function ‘phonet_exit_net’:
>>>> net/phonet/pn_dev.c:242: error: implicit declaration of function
>>>> ‘proc_net_remove’
>>> Oops. This makes me wonder why I did not get that one here on my test
>>> builds???
>> I also have this warning :
>>
>> net/phonet/pn_dev.c: In function `phonet_device_get':
>> net/phonet/pn_dev.c:99: warning: 'dev' might be used uninitialized in this
>> function
>
> Right. This is indeed a bug - thanks. Either my gcc version is bad at that
> stuff or I have missing debug options :(
>
I currently use gcc-3.4.6, and current net-next-2.6 doesnt compile for me
(but linux-2.6 does compile properly so I just know this is already fixed upstream)
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x86b17): In function `igdng_compute_m_n':
: undefined reference to `__udivdi3'
drivers/built-in.o(.init.text+0x3c44): In function `con_init':
: undefined reference to `.L1443'
make: *** [.tmp_vmlinux1] Erreur 1
No problem with gcc-4.4.0
next prev parent reply other threads:[~2009-07-27 8:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-26 18:43 net-next-2.6 phonet causes build error Oliver Hartkopp
2009-07-26 20:39 ` David Miller
2009-07-27 6:27 ` Rémi Denis-Courmont
2009-07-27 7:03 ` Eric Dumazet
2009-07-27 8:06 ` Rémi Denis-Courmont
2009-07-27 8:09 ` Eric Dumazet [this message]
2009-07-28 2:31 ` David Miller
2009-07-28 6:18 ` Eric Dumazet
2009-07-27 15:03 ` David Miller
2009-07-27 15:01 ` David Miller
2009-07-27 15:18 ` Marcel Holtmann
2009-07-27 15:30 ` David Miller
2009-07-27 15:30 ` Oliver Hartkopp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A6D60B4.1070601@cosmosbay.com \
--to=dada1@cosmosbay.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=remi.denis-courmont@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.