* make error
@ 2002-04-16 18:38 Thomas Beer
2002-04-16 19:06 ` Richard Adams
2002-04-17 0:59 ` lawson_whitney
0 siblings, 2 replies; 10+ messages in thread
From: Thomas Beer @ 2002-04-16 18:38 UTC (permalink / raw)
To: linux-newbie
Hi,
I'm trying to install a radio clock software, which
issues make errors. Can anyone guess what may be
wrong. Tryed to modify the pcfclock.c with no positive
result. Any suggestions are highly appreciated.
Thanks Tom
make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/big/download/pcfclock-0.29«
Making all in linux
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/big/download/pcfclock-0.29/linux«
gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
-D__KERNEL__ -DMODULE -DMODVERSIONS -include
/lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
pcfclock.o pcfclock.c
pcfclock.c:547: parse error before string constant
pcfclock.c:547: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
pcfclock.c:547: warning: data definition has no type or storage class
make[2]: *** [pcfclock.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29/linux«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29«
make: *** [all] Fehler 2
[tom@milestone pcfclock-0.29]$
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: make error
2002-04-16 18:38 make error Thomas Beer
@ 2002-04-16 19:06 ` Richard Adams
2002-04-17 0:59 ` lawson_whitney
1 sibling, 0 replies; 10+ messages in thread
From: Richard Adams @ 2002-04-16 19:06 UTC (permalink / raw)
To: Thomas Beer, linux-newbie
On Tuesday 16 April 2002 18:38, Thomas Beer wrote:
> Hi,
>
> I'm trying to install a radio clock software, which
> issues make errors. Can anyone guess what may be
> wrong. Tryed to modify the pcfclock.c with no positive
> result. Any suggestions are highly appreciated.
>
> Thanks Tom
The thing is with source is that quite often it will only compile with a
spesific kernel-verion-header files/and or spesific libs.
I suggest you check the doc's which i am presuming came with the source and
see if there is any mention of what the authour used to compile it.
It could also be that he/she used a different compiler than you have.
>
> make
> cd . \
> && CONFIG_FILES= CONFIG_HEADERS=config.h \
> /bin/sh ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> make all-recursive
> make[1]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29«
> Making all in linux
> make[2]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
> -D__KERNEL__ -DMODULE -DMODVERSIONS -include
> /lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
> pcfclock.o pcfclock.c
> pcfclock.c:547: parse error before string constant
This could be a simple syntax error in the source, or it could be the result
of a header file mismatch.
> pcfclock.c:547: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> pcfclock.c:547: warning: data definition has no type or storage class
Looking at that i would take a wild guess and say that the software is very
old indeed and needs lib5 support, thesedays we have Glib's and they are
mostly not backwards compatable.
Of course it could be something else intyrly...
> make[2]: *** [pcfclock.o] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29«
> make: *** [all] Fehler 2
> [tom@milestone pcfclock-0.29]$
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
--
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: make error
2002-04-16 18:38 make error Thomas Beer
2002-04-16 19:06 ` Richard Adams
@ 2002-04-17 0:59 ` lawson_whitney
2002-04-17 6:40 ` Tom Beer
1 sibling, 1 reply; 10+ messages in thread
From: lawson_whitney @ 2002-04-17 0:59 UTC (permalink / raw)
To: tbeer; +Cc: linux-newbie
On Tue, 16 Apr 2002, Thomas Beer wrote:
> Hi,
>
> I'm trying to install a radio clock software, which
> issues make errors. Can anyone guess what may be
> wrong. Tryed to modify the pcfclock.c with no positive
> result. Any suggestions are highly appreciated.
>
> Thanks Tom
Did this thing come with a ./configure script? If so, did you run it
before trying make?
>
> make
> cd . \
> && CONFIG_FILES= CONFIG_HEADERS=config.h \
> /bin/sh ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> make all-recursive
> make[1]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29«
> Making all in linux
> make[2]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
> -D__KERNEL__ -DMODULE -DMODVERSIONS -include
> /lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
> pcfclock.o pcfclock.c
This looks as if it is trying to make a kernel module. Did you include
module support in 2.4.4 when you configured it?
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
Did you remember to make modules after you built your kernel, and have
root run "make modules_install"?
> pcfclock.c:547: parse error before string constant
> pcfclock.c:547: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> pcfclock.c:547: warning: data definition has no type or storage class
This looks as if pcfclock.c is trying to use a macro which is not
defined in any header file. What follows is fallout.
> make[2]: *** [pcfclock.o] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29«
> make: *** [all] Fehler 2
> [tom@milestone pcfclock-0.29]$
Lawson
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 10+ messages in thread
* make error
@ 2011-10-08 12:04 Masaru Nomiya
2011-10-10 11:02 ` Todor Tomov
0 siblings, 1 reply; 10+ messages in thread
From: Masaru Nomiya @ 2011-10-08 12:04 UTC (permalink / raw)
To: linux-media
Hello,
I tried to compile the very latest git of v4l-utils.
But, I got an error;
[...]
g++ -m64 -o qv4l2 qv4l2.o general-tab.o ctrl-tab.o v4l2-api.o capture-win.o moc_qv4l2.o moc_general-tab.o moc_capture-win.o qrc_qv4l2.o -L/usr/lib64 -L../../lib/libv4l2 -lv4l2 -L../../lib/libv4lconvert -lv4lconvert -lrt -L../libv4l2util -lv4l2util -ldl -ljpeg -lQtGui -L/usr/lib64 -L/usr/X11R6/lib64 -lQtCore -lpthread
qv4l2.o: In function `ApplicationWindow::setDevice(QString const&, bool)':
/tmp/source/v4l-utils/utils/qv4l2/qv4l2.cpp:156: undefined reference to `libv4l2_default_dev_ops'
collect2: ld returned 1 exit status
Any hint?
Thanks in advance.
PS. My system
1. OS : openSUSE 11.3
3.0.6-1.1-default #1 SMP x86_64 GNU/Linux
2. gcc : gcc (SUSE Linux) 4.5.3 20110428 [gcc-4_5-branch revision 173117]
3. ld : GNU ld (GNU Binutils; devel:gcc / openSUSE_11.3) 2.21.1
Regards,
---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
Not with Me!"
"No..., with money."
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: make error
2011-10-08 12:04 Masaru Nomiya
@ 2011-10-10 11:02 ` Todor Tomov
2011-10-10 12:26 ` Masaru Nomiya
0 siblings, 1 reply; 10+ messages in thread
From: Todor Tomov @ 2011-10-10 11:02 UTC (permalink / raw)
To: Masaru Nomiya; +Cc: linux-media
Hi,
On 10/08/2011 03:04 PM, Masaru Nomiya wrote:
> Hello,
>
> I tried to compile the very latest git of v4l-utils.
> But, I got an error;
>
> [...]
> g++ -m64 -o qv4l2 qv4l2.o general-tab.o ctrl-tab.o v4l2-api.o capture-win.o moc_qv4l2.o moc_general-tab.o moc_capture-win.o qrc_qv4l2.o -L/usr/lib64 -L../../lib/libv4l2 -lv4l2 -L../../lib/libv4lconvert -lv4lconvert -lrt -L../libv4l2util -lv4l2util -ldl -ljpeg -lQtGui -L/usr/lib64 -L/usr/X11R6/lib64 -lQtCore -lpthread
> qv4l2.o: In function `ApplicationWindow::setDevice(QString const&, bool)':
> /tmp/source/v4l-utils/utils/qv4l2/qv4l2.cpp:156: undefined reference to `libv4l2_default_dev_ops'
> collect2: ld returned 1 exit status
>
> Any hint?
This is discussed here:
http://www.spinics.net/lists/linux-media/msg38924.html
> Thanks in advance.
>
> PS. My system
>
> 1. OS : openSUSE 11.3
> 3.0.6-1.1-default #1 SMP x86_64 GNU/Linux
>
> 2. gcc : gcc (SUSE Linux) 4.5.3 20110428 [gcc-4_5-branch revision 173117]
> 3. ld : GNU ld (GNU Binutils; devel:gcc / openSUSE_11.3) 2.21.1
>
> Regards,
>
> ---
> ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computers.
> Not with Me!"
> "No..., with money."
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best regards,
Todor Tomov
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: make error
2011-10-10 11:02 ` Todor Tomov
@ 2011-10-10 12:26 ` Masaru Nomiya
0 siblings, 0 replies; 10+ messages in thread
From: Masaru Nomiya @ 2011-10-10 12:26 UTC (permalink / raw)
To: linux-media
Hello,
In the Message;
Subject : Re: make error
Message-ID : <4E92D0B1.1050605@mm-sol.com>
Date & Time: Mon, 10 Oct 2011 14:02:09 +0300
Todor Tomov <ttomov@mm-sol.com> has written:
>> [...]
>> g++ -m64 -o qv4l2 qv4l2.o general-tab.o ctrl-tab.o v4l2-api.o capture-win.o moc_qv4l2.o moc_general-tab.o moc_capture-win.o qrc_qv4l2.o -L/usr/lib64 -L../../lib/libv4l2 -lv4l2 -L../../lib/libv4lconvert -lv4lconvert -lrt -L../libv4l2util -lv4l2util -ldl -ljpeg -lQtGui -L/usr/lib64 -L/usr/X11R6/lib64 -lQtCore -lpthread
>> qv4l2.o: In function `ApplicationWindow::setDevice(QString const&, bool)':
>> /tmp/source/v4l-utils/utils/qv4l2/qv4l2.cpp:156: undefined reference to `libv4l2_default_dev_ops'
>> collect2: ld returned 1 exit status
> This is discussed here:
> http://www.spinics.net/lists/linux-media/msg38924.html
Thanks! I could solve.
Regards,
---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
Not with Me!"
"No..., with money."
^ permalink raw reply [flat|nested] 10+ messages in thread
* make error
@ 2012-11-01 12:18 Gregg Douglas
[not found] ` <CAP0ktjLiv=2U2oja_2vk1r9Gof_xL+n5Vs0diigsPOMxWHyvdw@mail.gmail.com>
0 siblings, 1 reply; 10+ messages in thread
From: Gregg Douglas @ 2012-11-01 12:18 UTC (permalink / raw)
To: kernelnewbies
Hi,
I have always wanted to contribute, but I am not a coder, I am a Linux
Admin, so I know some bash, perl and php. I came across the following video
: http://www.youtube.com/watch?v=LLBrBBImJt4&feature=related
So I decided even if I clean code it would hopefully make some
contribution. I followed the video and came to the following file that
needed some correction: drivers/staging/bcm/InterfaceDld.c. "checkpatch.pl"
gave 2 errors, both ERROR: "(foo*)" should be "(foo *)", so I fixed the
errors.
I did a "git diff" and it showed the corrections, from the video the next
step is to build the file, I believe the command must be "make
M=drivers/staging/bcm/", but I get the following errors:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are
missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /home/douglagm/git/linux-2.6/Module.symvers
is missing; modules will have no dependencies and modversions.
LD drivers/staging/bcm//built-in.o
Building modules, stage 2.
/home/douglagm/git/linux-2.6/scripts/Makefile.modpost:42:
include/config/auto.conf: No such file or directory
make[1]: *** No rule to make target `include/config/auto.conf'. Stop.
make: *** [modules] Error 2
The error says " Run 'make oldconfig && make prepare' on kernel src to fix
it", but I am a bit nervous to try this, I would please like some guidance
before continuing.
I think the issue is related to my OS's kernel headers, from the kernel
README I am not sure what I need to do ?
I did a bit of searching the net and did not really find some answers, well
that made sense to me. kernelnewbies.org, not sure what is going on there,
get a lot of "*This page does not exist yet. You can create a new empty
page, or use one of the page templates. Before creating the page, please
check if a similar page already exists."*
Regards
Gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121101/3eb6264f/attachment.html
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-11-01 14:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 18:38 make error Thomas Beer
2002-04-16 19:06 ` Richard Adams
2002-04-17 0:59 ` lawson_whitney
2002-04-17 6:40 ` Tom Beer
-- strict thread matches above, loose matches on Subject: below --
2011-10-08 12:04 Masaru Nomiya
2011-10-10 11:02 ` Todor Tomov
2011-10-10 12:26 ` Masaru Nomiya
2012-11-01 12:18 Gregg Douglas
[not found] ` <CAP0ktjLiv=2U2oja_2vk1r9Gof_xL+n5Vs0diigsPOMxWHyvdw@mail.gmail.com>
2012-11-01 13:13 ` Gregg Douglas
2012-11-01 14:40 ` Kumar amit mehta
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.