All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
* 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
* 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

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 --
2011-10-08 12:04 make error Masaru Nomiya
2011-10-10 11:02 ` Todor Tomov
2011-10-10 12:26   ` Masaru Nomiya
  -- strict thread matches above, loose matches on Subject: below --
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
2002-04-16 18:38 Thomas Beer
2002-04-16 19:06 ` Richard Adams
2002-04-17  0:59 ` lawson_whitney
2002-04-17  6:40   ` Tom Beer

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.