All of lore.kernel.org
 help / color / mirror / Atom feed
* undefined reference
@ 2006-01-17 20:06 Andrew
  2006-01-17 20:23 ` caszonyi
  0 siblings, 1 reply; 11+ messages in thread
From: Andrew @ 2006-01-17 20:06 UTC (permalink / raw)
  To: linux-newbie

Good evening,

Trying to compile gqcam-0.8 or 0.9 on a Slackware-10.1 I get a lot of 
'undefined reference' messages about libpng.so. I have version 1.2.8 of 
libpng (the latest).

Does anyone know what is wrong?

TIA

Andrew
-
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] 11+ messages in thread
* Undefined Reference
@ 2006-10-30 13:21 Felipe Balbi
  0 siblings, 0 replies; 11+ messages in thread
From: Felipe Balbi @ 2006-10-30 13:21 UTC (permalink / raw)
  To: Linux OMAP Mailing List

Could anyone help me getting this bug fixed?
I've already git pull'd the new version of linux-omap-2.6 git tree and 
it didn't work at all.

isp1301.c is including linux/usb/otg.h, hcd.c exports the symbol 
usb_bus_start_enum wich is declared inside otg.h as extern.


drivers/built-in.o: In function `omap_otg_irq':
drivers/i2c/chips/isp1301_omap.c:851: undefined reference to 
`usb_bus_start_enum'
make: *** [.tmp_vmlinux1] Error 1

-- 
Best Regards,

Felipe Balbi
ext-felipe.lima@nokia.com
OSMRC - INdT

^ permalink raw reply	[flat|nested] 11+ messages in thread
* undefined reference
@ 2002-03-24 16:16 Anthony Chee
  2002-03-25 21:45 ` Bart Trojanowski
  0 siblings, 1 reply; 11+ messages in thread
From: Anthony Chee @ 2002-03-24 16:16 UTC (permalink / raw)
  To: kbuild-devel, kernelnewbies, linux-kernel

The case is quite complicated.

I am now developing a module. This module need communicate with the kernel.
So I exported a function func(), by using EXPORT_SYMBOL(func). In the header
file, I set "extern int func()".

I also modified the kernel source code, which is inode.c, and insert the
func() and the module header file.

After the above procedure, I use "make bzImage" to build the kernel. At the
compile stage, it does not appear warning message, but it appears in the
linking object stage, which is

fs/fs.o(.text+0x1377d): undefined reference to `func'

How can I solve this issue? Or any parameter for "ld" to avoid checking the
undefined reference?
Thanks.


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

end of thread, other threads:[~2006-10-30 13:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-17 20:06 undefined reference Andrew
2006-01-17 20:23 ` caszonyi
2006-01-17 20:30   ` Andrew
2006-01-17 20:58     ` caszonyi
2006-01-17 20:59       ` Andrew
  -- strict thread matches above, loose matches on Subject: below --
2006-10-30 13:21 Undefined Reference Felipe Balbi
2002-03-24 16:16 undefined reference Anthony Chee
2002-03-25 21:45 ` Bart Trojanowski
2002-03-26  4:17   ` Anthony Chee
2002-03-26  5:49     ` Keith Owens
2002-03-30 14:19       ` Anthony Chee

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.