Skip to contentSkip to conversation

: DirectFB detects host installed /usr/bin/libvncserver-config instead checking only in staging dir

Buildroot bugs at busybox.net 2 participants 2 messages Nov 16, 2007

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1595
======================================================================

Reported By:                vanokuten
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1595
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-16-2007 05:08 PST
Last Modified:              11-16-2007 05:08 PST

======================================================================
Summary: DirectFB detects host installed
/usr/bin/libvncserver-config instead checking only in staging dir Description:
DirectFB incorrectly detects libvncserver support from host PC instead checking only in staging dir

./configure
...
checking for libvncserver-config... /usr/bin/libvncserver-config
...
Building Core Systems:

  Linux FBDev support       yes
  X11 support               no
  OSX support               no
  SDL support               no
  VNC support               yes

...

make

...

/opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -Os -pipe -I/opt/buildroot/build_avr32/staging_dir/usr/include -I/opt/buildroot/build_avr32/staging_dir/include -msoft-float -shared .libs/vncinput.o -Wl,--rpath -Wl,/opt/buildroot/build_avr32/DirectFB-1.0.1/src/.libs -L/usr/lib -lvncserver -lvncclient -lnsl -lz -ljpeg ../../src/.libs/libdirectfb.so -L/opt/buildroot/build_avr32/DirectFB-1.0.1/lib/fusion/.libs -L/opt/buildroot/build_avr32/DirectFB-1.0.1/lib/direct/.libs -ldl -lpthread -msoft-float -Wl,-soname -Wl,libdirectfb_vncinput.so -o .libs/libdirectfb_vncinput.so /opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-ld:
cannot find -lvncserver
collect2: ld returned 1 exit status

======================================================================

Issue History
Date Modified Username Field Change
======================================================================

11-16-07 05:08  vanokuten      New Issue                                    
11-16-07 05:08  vanokuten      Status                   new => assigned     
11-16-07 05:08  vanokuten      Assigned To               => buildroot       

======================================================================

#1 lore raw

[Buildroot] at91bootstrap - to patch the patch or new version?

Hello all,

When selecting BR2_TARGET_AT91BOOTSTRAP it fails with the following:

main.o: In function `main':
/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/main.c:93: undefined reference to dbg_print' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/main.c:94: undefined reference to dbg_print_hex' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/main.c:95: undefined reference to dbg_print' driver/dataflash.o: In function df_init':
/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:336: undefined reference to dbg_print' driver/dataflash.o: In function load_df':
/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:416: undefined reference to dbg_print' driver/dataflash.o: In function df_read':
/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:226: undefined reference to dbg_print' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:229: undefined reference to dbg_print' driver/dataflash.o:/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:236: more undefined references to dbg_print' follow driver/dataflash.o: In function df_download':
/home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:250: undefined reference to dbg_print_hex' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:251: undefined reference to dbg_print' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:252: undefined reference to dbg_print_hex' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:253: undefined reference to dbg_print' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:257: undefined reference to dbg_print' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:258: undefined reference to dbg_print_hex' /home/aron/svn/buildroot/project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c:259: undefined reference to `dbg_print'
make: *** [result/at91sam9263ek-dataflashboot-2.3.4.elf] Error 1

I know how to fix it, but I don't know how to patch buildroot svn. In ~/svn/buildroot/target/device/Atmel/at91bootstrap
we have the at91bootstrap-2.3.4.patch file which needs some attention. Do I patch the patch or should I perhaps make a new patch in order to have a new version ( I.E. at91bootstrap-2.3.5.patch )?
Pls advise

--
Andreas Aronsson

Konsult

SYNTRONIC AB

?gatan 32

431 35 M?lndal, Sweden

Phone: +46(0)31-746 81 09

Fax: +46(0)31-746 81 07

Email: anar at syntronic.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071116/95496517/attachment.htm