Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Robust Industrial Motor Encoder Signal Chain Solutions

    Recent Discussions

    • About the values of CurV1,2 displayed in the cursors frame of scopy.
    • Purpose of "Load" in Scopy signal generator configuration GUI
    • about the transient response experiment example of RL Circuit using adalm2000
    • Using ADALM1000 AIN and CHA as kelvin connection
    • I2C communication with ADALM2OOO Through Scopy

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Robust Industrial Motor Encoder Signal Chain Solutions
    • Precision Low Power Measurement Solutions for Intelligent Edge
    • Advantages of Integrating Digital Power System Management (DPSM) into your Design
    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ230 about a clock and angle puzzle
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Using Python To Control The Pluto Radio And Plot Data

     

    Resistance is NOT Futile

    Latest Blogs

    • What is The Continuity of Engineering?
    • Move Over Sensors: Actuators Are Entering The Smart Factory Stage
    • What To Call A Non-Compliant Item
    • How to Construct a Beamformer with the ADALM-PLUTO
    • Customize Your EZ Experience
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Linux Bug Archive
  • Processors and DSP
  • Software and Development Tools
  • Linux Distribution for Blackfin
  • Linux Bug Archive
  • Cancel
Linux Bug Archive
Documents [#5214] trunk applications don't build with trunk toolchain due to missing fork()
  • Q&A
  • Documents
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +ad1836: FAQ
  • +ad1938: FAQ
  • +ad1939: FAQ
  • +AD5280: FAQ
  • +ad73311: FAQ
  • +adau1361: FAQ
  • +adau1371: FAQ
  • +adau1373: FAQ
  • +adau1761: FAQ
  • +adp5588-gpio: FAQ
  • +adv7393: FAQ
  • +ADXL34x: FAQ
  • +bf518-ezbrd: FAQ
  • +bf518: FAQ
  • +bf51x: FAQ
  • +bf526-ezbrd: FAQ
  • +bf527-ezkit: FAQ
  • +bf533-stamp/ezkit: FAQ
  • +bf533: FAQ
  • +bf538-ezkit: FAQ
  • +bf548-ezkit: FAQ
  • +BF54x: FAQ
  • +bf561-ezkit: FAQ
  • +bf5xx: FAQ
  • +bfin-mac driver: FAQ
  • +bfin-uclinux-gdb: FAQ
  • +bfin_can.c: FAQ
  • +Blackfin: FAQ
  • +bluetooth: FAQ
  • +Build kernel: FAQ
  • +Build: FAQ
  • +cfcard test: FAQ
  • FAQ: [#6170] section mismatches in cifs code(2010)
  • FAQ: [#6173] linphone testing problem(2010)
  • FAQ: [#6190] BF561-EZKIT SMP kernel can not wake up by uart(2010)
  • FAQ: [#6194] libxenomai.so.0 can't be found in xenomai kernel with fdpic mode(2010)
  • FAQ: [#6207] Build error in CTS/RTS testing on board BF548-EZKIT(2010)
  • FAQ: [#6251] pread/pwrite arent decoded correctly by strace(2010)
  • FAQ: [#6253] strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)(2010)
  • FAQ: [#6255] Busybox inetd crashes/rsh noconnet/ssh(2010)
  • FAQ: [#6265] libpng build fails due to not finding zlib(2010)
  • FAQ: [#6271] "nand unlock" is an unsupported command in u-boot update in nand flash(2010)
  • FAQ: [#6272] After update u-boot in spi flash, BF548-EZKIT can not boot from spi flash(2010)
  • +gadget fs bulk: FAQ
  • +gadget zero bulk: FAQ
  • +gadget zero control: FAQ
  • +Kernel xip: FAQ
  • +ltp test: FAQ
  • +microwin test: FAQ
  • +MPU kernel: FAQ
  • +Sl811-hcd.c USB: FAQ
  • +SPORT channel: FAQ
  • +trunk head kernel: FAQ
  • +usb otg driver: FAQ
  • +zlib: FAQ
  • +Illegal i2c: FAQ
  • +isp1362-hcd: FAQ
  • +Kernel: FAQ
  • +KGDBOE: FAQ
  • [#4646] Varittronix LCD driver mixes blue and Red
  • +serial driver: FAQ
  • +sigma firmware: FAQ
  • +spi transaction: FAQ
  • +strace FAQ
  • [#4787] [ltp] LTP test case shmctl01 failed in trunk for ltp-full-20081130
  • +tiff-4.0.0beta4: FAQ
  • [#5264] ping packet size test will fail for gadget ethernet test with DMA mode
  • +USBHOST: FAQ
  • +USB_EP_NI7_RXINTERVAL: FAQ
  • [#5257] Build usb gadget driver with DMA mode will fail
  • [#4708] Blackfin irda build fails for bf533-stamp
  • [#4735] unaligned accesses in qt webkit
  • [#5168] build cpufrequtils into fdpic format has error
  • [#5321] modprobe i2c lcd on bf533 stamp wait long time
  • [#4922] unwanted sound comes up after g_audio module is installed on BF548 and BF527
  • [#5176] app cpufrequtils in Blackfin app programs fails to build in FDPIC
  • [#5237] musb driver is broken after linux-2.6.30 update
  • [#5255] ping target board sometimes get wrong data byte for gadget ethernet pio mode
  • FAQ: [#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd(2011)
  • [#5336] canbus and ppifcd drivers can not be built on BF538-EZKIT
  • +SPI driver: FAQ
  • [#4714] the first time to build mtd-utils will fail in trunk
  • [#5524] drivers/video/bfin_adv7393fb.c build fails in 2.6.31 due to old i2c usage
  • [#5525] drivers/video/bf537-lq035.c build fails in 2.6.31 due to old i2c usage
  • [#5399] no sound when record in board and listen in PC for linphone test of ad1836 on bf533-stamp
  • [#5458] Drivers Serial:bfin_5xx:ttyBFx fails to generate resume from standby
  • [#4647] build samba fails on trunk now for redefinition in fcntl.h
  • [#5526] ip0x board has broken UART defines after resource reorganization
  • [#5527] drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage
  • [#5352] bfin_sport.c setup 2D DMA
  • [#5528] fs/binfmt_elf_fdpic.c build fails when CONFIG_ELF_CORE is enabled in 2.6.31
  • [#5464] isram_write() seems to be busted
  • [#5376] mmap05 sometimes can not pass when MPU
  • [#5534] run aplay/arecord will make system panic after kernel upgraded to 2.6.31
  • [#5361] Microwin (nanox) failed on trunk using AD7897 touch screen
  • [#5544] Sport uart TX stop waiting loop is too long to block RX interrupt in PIO mode when do duplex communication
  • [#5363] spi mmc is not supported in bf533-stamp
  • [#5550] fail to flash ubifs.img to nand
  • [#5470] build xenomai fails for no switchbench
  • [#5437] mathtest fails to compile
  • [#5551] SPI message lost when bus locked
  • [#5370] alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)
  • [#5561] [ltp ]Kernel dump info when run ltp test cases access02, chown03, fchmod06, fchown03, fchown04
  • [#5377] amixer fail to run on ad1836 audio driver on BF537-STAMP
  • [#5475] build mkfs.ubifs on trunk head fails
  • [#5562] [ltp]some ltp test case is broken for getipckey and getcwd
  • [#5487] build usb.c fail in testsuites/usbdev/ test at asm/swab.h
  • [#5489] t2/t4 failed in gadget zero bulk test with dma mode
  • [#5567] build nand for bf537 fails on trunk
  • [#5494] Run tftlcd test case in bf548-ezkit, kernel crashed at the end
  • [#4879] traps test case 21 exception 0x3f: l1_instruction_access would make kernel panic on bf533 stamp
  • [#5568] Framebuffer DMA Error!!
  • [#5515] 4 more trap cases fails on bf533
  • [#5379] run scratchpad case sometimes would fail
  • [#5519] pushing Blackfin serial resources to boards broke many boards
  • [#5389] build pictureflow fails at branch head
  • [#5531] Usb SL811 failed on uclinux2009r1-rc6 on bf532 board.
  • [#5523] Blackfin MUSB build fails after update to 2.6.31
  • [#5391] For ad1836 and ad1981b, sometimes sound shakes at the end
  • [#5404] build kernel with 0x2000 as BOOT_LOAD address sometimes would fails at build-busybox-1.13.4
  • [#5469] CPU hardly idles anymore in svn trunk
  • [#5695] Build bf537-stamp fails at ad73322 for the latest trunk
  • [#5702] build xenomai into fdpic format fails for no libnative.so
  • [#5427] ircp failed on bf533-stamp
  • [#5708] Kernel can not boot up when spimmc driver is interrupt drivern in PIO mode
  • [#5711] gfortran case default_format_1.exe fails on 09r1 kernel but pass on trunk head
  • [#5712] I2C client drivers using dev_pm_ops fail to receive suspend/resume callbacks
  • [#5715] libpcap fails to compile in trunk
  • [#5589] STLport build fails
  • [#5724] SPORT driver crash on reload
  • [#5449] bfin_sdh doesn't save and restore peripheral context upon resume
  • [#5580] GPIO pin not reserved for CTS function on SPORT-UART driver
  • [#5521] trunk head build fails at ipc/shm.c
  • [#5636] generic gpio works on bf533 in the opposite way
  • [#5637] Kernel crashed when arecord and aplay on bf537-stamp with SoC I2S audio
  • [#5647] SPI driver bus_unlock() does not schedule postponed SPI messages
  • [#5683] build nand fails for format error
  • [#5689] while two or multi spi devices use gpio cs, spi setup will fail
  • [#5558] bfin mac multi-cast sending fails to work
  • [#5816] PREEMPT_RT: cyclic test stalls in some test mode
  • [#5824] some kernel modules fail to link due to losing strcpy in trunk head
  • [#5707] error in user/procps/Makefile
  • [#5841] [ltp] ltp test case shmctl01/semctl01 can not execute
  • [#5605] Build bf537-stamp fail at bf5xx-i2s.c in latest trunk
  • [#5614] With latest toolchain in trunk, fail to build some apps and libs at fork
  • [#5625] Build microwin app fails in trunk with 4.3 toolchain
  • [#5626] Build lib mad fail at option "-fforce-mem" with gcc 4.3
  • [#5722] bfin_sport_spi broken by cs_gpio changes
  • [#5627] fail to control gpio used by led and button through /sys/class/gpio/
  • [#5927] PR bit other than RAF bit in EMAC OPMODE register should be set for promisuous mode in bfin_mac driver
  • [#5727] build e2fsprogs-1.41.12 fail sometimes because of compiling order
  • [#5631] Build lib confuse failed with gcc 4.3 toolchain
  • [#5759] fix build for pwlib
  • [#5651] Build lirc failed at missing files
  • [#5931] Trying to compile CAN4LINUX for BF537-STAMP board but compilation is failing
  • [#5656] Build iproute2 fails at trunk for dlfcn.h when built as FLAT
  • [#5743] sound/soc/blackfin/bf5xx-ad1938.c build fails after 2.6.32 upgrade
  • [#5801] No interrupt occurs when reconnect gadget device in OTG mode.
  • [#5657] [ltp] ltp test case mount03/umount03 fail with error of "No such device"
  • [#5808] mmc configuration error in make config
  • [#5804] bf531: ethernet not working when switching to 2009R1
  • [#5810] initial sp is given wrong value and INIT_TASK_DATA is not linked into data
  • [#6335] Build xip failed in fdpic format when xenomai is enabled
  • [#7224] undifined variable x25_address in ./user/net-tools/lib/x25_src.c
  • [#5598] bluez-utils has parallel build issues with parser.h
  • [#5668] Fail to build app bluez-utils
  • [#7251] Blackfin SPI driver doesn't handle repeated changes in CPOL, CPHA and LSBF correctly
  • [#5767] In 09r1.1 branch, all ltp test cases show stack overflow in bf561 SMP kernel
  • [#5684] touching keypad on bf548 will make system dead and restart
  • [#7287] Can not build usb.c with libaio
  • [#5687] SPI read/write be wrong after suspend to memory and resume
  • [#7315] [ltp] ltp test case getrusage04 from ltp-full-20120903 fails in trunk
  • [#7328] Fail to compile pthread_test after toolchain update
  • [#5876] Repeating rsh/rcp causes error "poll: protocol failure in circuit setup"
  • [#7329] Fail to compile netperf after toolchain update
  • [#7333] Test dll fails to run after toolchain update
  • [#5741] adau1371 and adau1761 fail to build after 2.6.32 upgrade
  • [#7337] [ltp] ltp test case mount02 fails in ltp-full-20120903
  • [#7338] [ltp] ltp test case mount03 fails in ltp-full-20120903
  • [#5821] Fail to build pngview on regression machines with suse 10.2
  • [#5900] hardware single stepping in userspace does not handle syscalls correctly
  • [#5659] [ltp] ltp test case eventfd01 fail
  • [#7339] [ltp] can not apply patch of lchown02 in ltp-full-20101031 to ltp-full-20120903
  • [#7343] [ltp] LTP test case chdir04 fails in ltp-full-20120903
  • [#7396] build netperf fails for undefined reference to `___CPU_ZERO'
  • [#7483] bfin_sport driver does not work well in TDM DMA mode
  • [#7506] Dropbear does not build
  • [#5757] drop USER_SQUASHFS_MKSQUASHFS7Z as squashfs 4.0 does not support 7z anymore
  • [#5758] fix build for libopenh323
  • [#5833] trap test running on the second core of bf561 has serveral fails
  • [#5755] romfs target fails for lib/pwlib
  • [#5760] fix asterisk build
  • [#5756] romfs target fails for lib/libopenh323
  • [#5877] SPI transmit cs_change flag not properly handled
  • [#5939] bfin-can fails to build after linux-2.6.33 upgrade
  • [#5879] GPIO controlled slave request may fail when bfin_spi_setup() gets executed twice
  • [#5774] [ltp]ltp test case will be killed by oom-killer on bf533-ezkit in 09r1 branch occasionally
  • [#5894] BF527 uImage Flashing issue(Copy to Flash... Flash not Erased)
  • [#5941] links fails in trunk due to using fork()
  • [#5942] build usb host fail when remove anomaly 456 for BF526-EZBRD
  • [#7250] On bfin ppi test, it fails to quit from slave when send "q" from master
  • [#7379] Fail to build alsa lib in latest trunk with upgraded toolchain
  • [#5792] enc28j60 spi net fails to ping with host on trunk head kernel
  • [#4436] BF527-EZKIT unable to receive large files over UART in DMA mode
  • [#4764] Kernel prints warning when booting from jffs2 rootfs in nor flash on bf548-ezkit
  • [#5903] Impossible to work properly with two or more SPI slave devices using spi_bfin5xx driver.
  • FAQ: [#6386] build iproute2 may fail at ifstat.c sometimes in latest trunk(2010)
  • FAQ: [#6331] There is error in adau1371 audio testing on bf527-ezkit(2010)
  • [#5933] BF561-EZKIT SMP kernel can not wake up from standby mode by uart interrupt
  • FAQ: [#6564] dmacopy test on bf561-ezkit failed at sram_alloc in L1(2011)
  • [#4713] dmacopy tries to test L2 on BF537
  • [#4997] ppitest fails for bfin_ppi driver on bf537
  • [#5940] lynx fails in trunk due to using fork()
  • [#4104] Format usbdisk failed with mke2fs in trunk
  • FAQ: [#6578] iccutils build fails at scalar.c(2011)
  • [#3883] ftp server crash after connetion or chdir with MidnightCommander4.6.1
  • [#4697] kernel crash on bf533-stamp/bf533-ezkit after config IP for ethernet port
  • [#4050] xip test case failed in BF548-EZKIT
  • [#3991] mmc_spi not working out of the box.
  • [#3996] dhcpcd not stable on BF548-EZKIT
  • [#5136] Linphone: Can't hear each other and "Data access misaligned address violation"
  • [#5214] trunk applications don't build with trunk toolchain due to missing fork()
  • [#4055] top (busybox) crashs
  • [#5162] Linphone: Data access misaligned address
  • [#4992] bfin_sdh fails to build for BF514/BF516
  • [#5570] reboot on bf527-ezkit with nand and ubifs enabled fails
  • [#4955] 548 SDH: netperf, iperf triggers libertas error
  • [#5522] Lib DirectFB-1.4.0 crashes when run DirectFB demo on SVN trunk
  • [#3882] copy file function cp, after few times consume all memory
  • [#4773] BF527 usb-ide hard disk error

[#5214] trunk applications don't build with trunk toolchain due to missing fork()

[#5214] trunk applications don't build with trunk toolchain due to missing fork()

Submitted By: Robin Getz

Open Date

2009-06-06 13:04:25    

Priority:

Medium     Assignee:

Nobody

Status:

Open     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

trunk

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

all

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

any     Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: trunk applications don't build with trunk toolchain due to missing fork()

Details:

I can't build trunk anymore...

bfin-uclinux-gcc --version

bfin-uclinux-gcc (ADI-trunk/svn-3407) 4.3.3

../objects/ditto.o: In function `_open_tty':

../../ncurses-5.7/test/ditto.c:(.text+0x2f4): undefined reference to `_fork'

collect2: ld returned 1 exit status

Follow-ups

--- Robin Getz                                               2009-06-06 15:29:52

Also

../../DirectFB-1.2.7/tests/fusion_fork.c: In function ‘main’:

../../DirectFB-1.2.7/tests/fusion_fork.c:130: error: implicit declaration of

function ‘fork’

make[6]: *** [fusion_fork.o] Error 1

--- Robin Getz                                               2009-06-06 16:14:41

And another:

../../DirectFB-1.2.7/tests/fusion_reactor.c: In function ‘main’:

../../DirectFB-1.2.7/tests/fusion_reactor.c:136: error: implicit declaration of

function ‘fork’

make[6]: *** [fusion_reactor.o] Error 1

--- Robin Getz                                               2009-06-06 16:19:19

and another:

-D_GNU_SOURCE  -Werror-implicit-function-declaration -c

../../DirectFB-1.2.7/tests/fusion_stream.c

../../DirectFB-1.2.7/tests/fusion_stream.c: In function ‘main’:

../../DirectFB-1.2.7/tests/fusion_stream.c:299: error: implicit declaration of

function ‘fork’

make[6]: *** [fusion_stream.o] Error 1

--- Robin Getz                                               2009-06-06 16:23:40

And another:

/bin/sh ./libtool --mode=link bfin-linux-uclibc-gcc -o build/playwave

build/playwave.lo

-I/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/include/SDL

-D_GNU_SOURCE=1 -D_REENTRANT

-L/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib

-Wl,-rpath,/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib -lSDL

-lpthread build/libSDL_mixer.la

bfin-linux-uclibc-gcc -o build/.libs/playwave build/.libs/playwave.o

-I/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/include/SDL

-D_GNU_SOURCE=1 -D_REENTRANT -Wl,-rpath

-Wl,/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib

-L/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib

build/.libs/libSDL_mixer.so

/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib/libSDL.so -lm -ldl

-lpthread  -Wl,--rpath

-Wl,/home/rgetz/blackfin/trunk/uClinux-dist/staging/usr/lib

build/.libs/libSDL_mixer.so: undefined reference to `_fork'

collect2: ld returned 1 exit status

--- Robin Getz                                               2009-06-06 16:51:50

../../lib/libuuid.a(gen_uuid.o): In function `get_uuid_via_daemon':

../../../e2fsprogs-1.41.4/lib/uuid/gen_uuid.c:461: undefined reference to

`_fork'

collect2: ld returned 1 exit status

make[6]: *** [tst_uuid] Error 1

./user/e2fsprogs/e2fsprogs-1.41.4/lib/uuid/gen_uuid.c

--- Robin Getz                                               2009-06-06 17:07:15

../../e2fsprogs-1.41.4/debugfs/htree.c:305: warning: implicit declaration of

function ‘uuid_parse’

        CC ../../e2fsprogs-1.41.4/debugfs/unused.c

        LD debugfs

../lib/libss.a(help.o): In function `ss_help':

../../../e2fsprogs-1.41.4/lib/ss/help.c:109: undefined reference to `_fork'

../lib/libss.a(pager.o): In function `ss_pager_create':

../../../e2fsprogs-1.41.4/lib/ss/pager.c:81: undefined reference to `_fork'

collect2: ld returned 1 exit status

make[6]: *** [debugfs] Error 1

--- Robin Getz                                               2009-06-06 17:10:45

make[6]: Entering directory

`/home/rgetz/blackfin/trunk/uClinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.4/debugfs'

        LD debugfs

../lib/libss.a(pager.o): In function `ss_pager_create':

../../../e2fsprogs-1.41.4/lib/ss/pager.c:81: undefined reference to `_fork'

collect2: ld returned 1 exit status

make[6]: *** [debugfs] Error 1

--- Robin Getz                                               2009-06-06 17:14:58

../../e2fsprogs-1.41.4/misc/logsave.c:141: undefined reference to `_fork'

logsave.o: In function `main':

../../e2fsprogs-1.41.4/misc/logsave.c:267: undefined reference to `_fork'

collect2: ld returned 1 exit status

--- Robin Getz                                               2009-06-06 17:24:39

fsck.o: In function `execute':

../../e2fsprogs-1.41.4/misc/fsck.c:497: undefined reference to `_fork'

fsck.o: In function `wait_one':

../../e2fsprogs-1.41.4/misc/fsck.c:647: undefined reference to `_fork'

collect2: ld returned 1 exit status

make[6]: *** [fsck] Error 1

--- Robin Getz                                               2009-06-06 17:28:52

        CC ../../e2fsprogs-1.41.4/misc/uuidd.c

../../e2fsprogs-1.41.4/misc/uuidd.c: In function ‘create_daemon’:

../../e2fsprogs-1.41.4/misc/uuidd.c:66: warning: implicit declaration of

function ‘fork’

        LD uuidd

uuidd.o: In function `create_daemon':

../../e2fsprogs-1.41.4/misc/uuidd.c:66: undefined reference to `_fork'

collect2: ld returned 1 exit status

make[6]: *** [uuidd] Error 1

--- Robin Getz                                               2009-06-11 12:49:49

make[5]: Entering directory

`/home/billy/Projects/blackfin/uclinux-dist/uclinux-dist/lib/alsa-lib/build-alsa-lib-1.0.18/aserver'

/bin/bash ../libtool --tag=CC --mode=link bfin-linux-uclibc-gcc  -pipe -Wall -g

-O2      -mcpu=bf537-0.2  -mcpu=bf537-0.2 -o aserver  aserver.o

../src/libasound.la

bfin-linux-uclibc-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -mcpu=bf537-0.2 -o

.libs/aserver aserver.o  ../src/.libs/libasound.so -ldl -lpthread -lrt

../src/.libs/libasound.so: undefined reference to `_fork'

collect2: ld returned 1 exit status

In lib/alsa-lib/alsa-lib-1.0.18/src/pcm/pcm_direct.c

--- Robin Getz                                               2009-06-11 13:59:34

make[5]: Entering directory

`home/user/blackfin-sources/uclinux-dist/user/dropbear/build-dropbear-0.52'

bfin-linux-uclibc-gcc -mcpu=bf537-0.2 -o dropbearmulti dbmulti.o atomicio.o

bignum.o buffer.o circbuffer.o cli-algo.o cli-auth.o cli-authinteract.o

cli-authpasswd.o cli-authpubkey.o cli-channel.o cli-chansession.o cli-kex.o

cli-main.o cli-runopts.o cli-service.o cli-session.o cli-tcpfwd.o common-algo.o

common-channel.o common-chansession.o common-kex.o common-runopts.o

common-session.o compat.o dbutil.o dropbearconvert.o dropbearkey.o dss.o

fake-rfc2553.o gendss.o genrsa.o keyimport.o listener.o loginrec.o packet.o

process-packet.o progressmeter.o queue.o random.o rsa.o scp.o scpmisc.o

signkey.o sshpty.o svr-agentfwd.o svr-algo.o svr-auth.o svr-authpam.o

svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-chansession.o

svr-kex.o svr-main.o svr-runopts.o svr-service.o svr-session.o svr-tcpfwd.o

svr-x11fwd.o tcp-accept.o termcodes.o libtomcrypt/libtomcrypt.a

libtommath/libtommath.a -lutil -lz  -lcrypt

scp.o: In function `sink':

../dropbear-0.52/scp.c:979: warning: the use of LEGACY `utimes' is discouraged,

use `utime'

svr-main.o: In function `main_noinetd':

../dropbear-0.52/svr-main.c:272: undefined reference to `_fork'

--- Tim Shearer                                              2009-06-17 08:59:32

Hi Robin,  Python also fails to build with the trunk toolchain:

libpython2.4.a(posixmodule.o): In function `posix_utime':

../python-2.4.4/Modules/posixmodule.c:2123: warning: the use of LEGACY `utimes'

is discouraged, use `utime'

libpython2.4.a(posixmodule.o): In function `_posix_fork':

../python-2.4.4/Modules/posixmodule.c:(.text+0x1fb8): undefined reference to

`_fork'

collect2: ld returned 1 exit status

make[3]: *** [python] Error 1

--- Michael Hennerich                                        2009-06-29 06:37:40

ffmpeg build fails also ...

bfin-linux-uclibc-gcc

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavdevice

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavformat

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavcodec

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavutil

-mcpu=bf537-0.2     -mcpu=bf537-0.2 -mfdpic -rdynamic -export-dynamic

-Wl,--warn-common

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavcodec

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavformat

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavutil

-g -o ffmpeg_g ffmpeg.o cmdutils.o -lavdevice -lavformat -lavcodec -lavutil -lz

-lm -ldl -ldl

bfin-linux-uclibc-gcc

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavdevice

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavformat

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavcodec

-L"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavutil

-mcpu=bf537-0.2     -mcpu=bf537-0.2 -mfdpic -rdynamic -export-dynamic

-Wl,--warn-common

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavcodec

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavformat

-Wl,-rpath-link,"/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build"/libavutil

-g -Wl,-E -o ffserver ffserver.o cmdutils.o -lavdevice -lavformat -lavcodec

-lavutil -lz -lm -ldl -ldl

ffserver.o: In function `start_children':

/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build/../ffmpeg-svn-11114/ffserver.c:379:

undefined reference to `_fork'

ffserver.o: In function `main':

/home/michael/devel/svn/uclinux-dist-2009R1/lib/ffmpeg/build/../ffmpeg-svn-11114/ffserver.c:4437:

undefined reference to `_fork'

collect2: ld returned 1 exit status

make[4]: *** [ffserver] Error 1

--- Michael Hennerich                                        2009-06-29 07:53:29

mplayer build fails too ...

bfin-linux-uclibc-gcc -o mencoder mencoder.o mp_msg-mencoder.o parser-mecmd.o

xvid_vbr.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o

m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o

playtreeparser.o spudec.o sub_cc.o subopt-helper.o subreader.o vobsub.o

unrarlib.o libmpcodecs/libmpencoders.a libmpdemux/libmpmux.a

libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a

libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a

libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a

liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a

dvdread/libdvdread.a libdvdcss/libdvdcss.a osdep/libosdep.a  -Wl,-z,noexecstack

    -mcpu=bf527-0.2  -lpng -lz -ljpeg -lz -llzo2-lmad -lpthread -ldl -rdynamic

-lm

stream/stream.a(cache2.o): In function `stream_enable_cache':

/home/michael/devel/svn/uclinux-dist-trunk_3/user/blkfin-apps/mplayer/mplayer-svn-25211/stream/cache2.c:279:

undefined reference to `_fork'

collect2: ld returned 1 exit status

make[5]: *** [mencoder] Error 1

make[5]: *** Waiting for unfinished jobs....

command.o: In function `run_command':

/home/michael/devel/svn/uclinux-dist-trunk_3/user/blkfin-apps/mplayer/mplayer-svn-25211/command.c:2887:

undefined reference to `_fork'

stream/stream.a(cache2.o): In function `stream_enable_cache':

/home/michael/devel/svn/uclinux-dist-trunk_3/user/blkfin-apps/mplayer/mplayer-svn-25211/stream/cache2.c:279:

undefined reference to `_fork'

collect2: ld returned 1 exit status

make[5]: *** [mplayer] Error 1

--- Peter Meerwald                                           2009-07-10 14:31:08

what's going on?

why is it broken?

any way to circumnavigate?

--- Robin Getz                                               2009-07-11 18:39:57

Peter:

Have a look at (and follow up in the forums):

http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?_forum_action=ForumMessageBrowse&thread_id=34487&action=ForumBrowse&forum_id=39

--- Robin Getz                                               2009-07-17 16:09:01

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I..

-D_PATH_MODDIR=\"/lib/rsyslog/\" -pthread-DEMBED -D__uClinux__

-I/scratch/bmat/blackfin/uclinux-dist  -mcpu=bf532-0.5  -pipe -Wall -g -O2   

-mcpu=bf532-0.5 -W -Wall -Wformat-security -Wshadow -Wcast-align

-Wpointer-arith

-Wmissing-format-attribute -g -c -o rsyslogd-omusrmsg.o `test -f 'omusrmsg.c'

||

echo '../'`omusrmsg.c

../conf.c:35:19: error: dlfcn.h: No such file or directory

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I..

-D_PATH_MODDIR=\"/lib/rsyslog/\" -pthread-DEMBED -D__uClinux__

-I/scratch/bmat/blackfin/uclinux-dist  -mcpu=bf532-0.5  -pipe -Wall -g -O2   

-mcpu=bf532-0.5 -W -Wall -Wformat-security -Wshadow -Wcast-align

-Wpointer-arith

-Wmissing-format-attribute -g -c -o rsyslogd-omfwd.o `test -f 'omfwd.c'|| echo

'../'`omfwd.c

make[6]: *** [rsyslogd-conf.o] Error 1

make[6]: *** Waiting for unfinished jobs....

../omusrmsg.c: In function ‘wallmsg’:

../omusrmsg.c:185: warning: implicit declaration of function ‘fork’

make[6]: Leaving directory

`/scratch/bmat/blackfin/uclinux-dist/user/rsyslog/build'

make[5]: *** [all-recursive] Error 1

make[5]: Leaving directory

`/scratch/bmat/blackfin/uclinux-dist/user/rsyslog/build'

make[4]: *** [all] Error 2

make[4]: Leaving directory

`/scratch/bmat/blackfin/uclinux-dist/user/rsyslog/build'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/scratch/bmat/blackfin/uclinux-dist/user/rsyslog'

make[2]: *** [rsyslog] Error 2

make[2]: Leaving directory `/scratch/bmat/blackfin/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/scratch/bmat/blackfin/uclinux-dist/user'

make: *** [subdirs] Error 1

--- Graf Yang                                                2009-10-29 22:41:31

Can we turn on UCLIBC_HAS_STUBS? This makes the build pass just like using

2009R1.

Jie had ported a patch on toolchain trunk,

r3417 | jiez | 2009-06-01 15:25:42 +0800 (Mon, 01 Jun 2009) | 2 lines

Backport UCLIBC_HAS_STUBS config option from the upstream. This option makes

uClibc provide fork() stub on NOMMU targets. It's default off.

--- Mike Frysinger                                           2009-10-29 23:33:14

we're not turning on stubs anymore.  fix the packages in question.

--- Graf Yang                                                2009-11-01 23:30:47

I will fix these build issues first.

If any of these Apps can not work, we will fix one by one.

--- Mike Frysinger                                           2009-11-02 06:10:29

just make sure to try and build the latest version of a package first and some

of the reported packages here have been fixed already

also, i have samba updated locally, so dont spend time on that one either

--- Vivi Li                                                  2009-11-05 03:18:26

irda

irda-tools also fails at fork.

--

bfin-uclinux-gcc  -Wl,-elf2flt    -mcpu=bf537-0.2 -o irattach irattach.o

util.o

irattach.o: In function `get_module_devices':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/irda-tools/irattach/irattach.c:400:

undefined reference to `_fork'

collect2: ld returned 1 exit status

--

--- Vivi Li                                                  2009-11-05 03:29:15

lib eXosip fails.

--

bfin-linux-uclibc-gcc -pipe -Wall -g -mcpu=bf537-0.2 -pthread -DOSIP_MT

-DENABLE_DEBUG -g -DENABLE_TRACE -pipe -Wall -g -mcpu=bf537-0.2 -mcpu=bf537-0.2

-o .libs/sip_reg sip_reg.o  ../src/.libs/libeXosip2.so

-L/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib -losipparser2

-losip2 -lrt -lresolv ^M

sip_reg.o: In function `main':^M

../../libeXosip2-3.3.0/tools/sip_reg.c:273: undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[5]: *** [sip_reg] Error 1^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib/libeXosip/build-libeXosip2-3.3.0/tools'^M

--

--- Vivi Li                                                  2009-11-05 03:32:10

pcmcia-cs fails.

--

bfin-uclinux-gcc  -Wl,-elf2flt    -mcpu=bf537-0.2  cardmgr.o yacc_config.o

lex_config.o   -o cardmgr

cardmgr.o: In function `fork_now':

/home/test/work/cruise/checkouts/uclinux-dist/user/pcmcia-cs/cardmgr/cardmgr.c:1305:

undefined reference to `_fork'

collect2: ld returned 1 exit status

make[4]: *** [cardmgr] Error 1

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/pcmcia-cs/cardmgr'

--

--- Vivi Li                                                  2009-11-05 03:36:32

app samba fails.

--

bfin-uclinux-gcc  -pipe -Wall -g -O2 -mcpu=bf537-0.2 -D_SAMBA_BUILD_=3

-I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/samba-3.0.25a/source/build/../popt

-I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/samba-3.0.25a/source/build/../iniparser/src

-Iinclude -I../include  -I. -I.. -I../lib/replace -I../lib/talloc

-I../tdb/include -I../libaddns -I../librpc -DHAVE_CONFIG_H

-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf537-0.2  

-I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/samba-3.0.25a/source/build/../lib

-D_SAMBA_BUILD_=3 -o bin/nmbd nmbd/asyncdns.o nmbd/nmbd.o nmbd/nmbd_become_dmb.o

nmbd/nmbd_become_lmb.o nmbd/nmbd_browserdb.o nmbd/nmbd_browsesync.o

nmbd/nmbd_elections.o nmbd/nmbd_incomingdgrams.o nmbd/nmbd_incomingrequests.o

nmbd/nmbd_lmhosts.o nmbd/nmbd_logonnames.o nmbd/nmbd_mynames.o

nmbd/nmbd_namelistdb.o nmbd/nmbd_namequery.o nmbd/nmbd_nameregister.o

nmbd/nmbd_namerelease.o nmbd/nmbd_nodestatus.o nmbd/nmbd_packets.o

nmbd/nmbd_processlogon.o nmbd/nmbd_responserecordsdb.o nmbd/nmbd_sendannounce.o

nmbd/nmbd_serverlistdb.o nmbd/nmbd_subnetdb.o nmbd/nmbd_winsproxy.o

nmbd/nmbd_winsserver.o nmbd/nmbd_workgroupdb.o nmbd/nmbd_synclists.o dynconfig.o

param/loadparm.o param/params.o lib/sharesec.o libsmb/clientgen.o

libsmb/cliconnect.o libsmb/clifile.o libsmb/clikrb5.o libsmb/clispnego.o

libsmb/asn1.o libsmb/clirap.o libsmb/clierror.o libsmb/climessage.o

libsmb/clireadwrite.o libsmb/clilist.o libsmb/cliprint.o libsmb/clitrans.o

libsmb/clisecdesc.o libsmb/clidgram.o libsmb/clistr.o libsmb/cliquota.o

libsmb/clifsinfo.o libsmb/clidfs.o libsmb/smberr.o libsmb/credentials.o

libsmb/pwd_cache.o libsmb/clioplock.o libsmb/errormap.o libsmb/clirap2.o

libsmb/doserr.o rpc_parse/parse_prs.o rpc_parse/parse_misc.o

rpc_parse/parse_sec.o libsmb/nterr.o libsmb/dcerpc_err.o libsmb/smbdes.o

libsmb/smbencrypt.o libsmb/ntlm_check.o libsmb/ntlmssp.o libsmb/ntlmssp_parse.o

libsmb/ntlmssp_sign.o libsmb/unexpected.o libsmb/namecache.o libsmb/nmblib.o

libsmb/namequery.o libsmb/conncache.o libads/dns.o libads/kerberos.o

libads/ads_status.o profile/profile.o lib/replace/replace.o

lib/replace/snprintf.o lib/replace/dlfcn.o lib/replace/strptime.o

lib/talloc/talloc.o lib/version.o lib/charcnv.o lib/debug.o lib/fault.o

lib/interface.o lib/md4.o lib/interfaces.o lib/pidfile.o lib/signal.o

lib/system.o lib/sendfile.o lib/time.o lib/ufc.o lib/genrand.o lib/username.o

lib/util_pw.o lib/access.o lib/smbrun.o lib/bitmap.o lib/crc32.o lib/dprintf.o

lib/xfile.o lib/wins_srv.o lib/util_str.o lib/clobber.o lib/util_sid.o

lib/util_uuid.o lib/util_unistr.o lib/util_file.o lib/data_blob.o lib/util.o

lib/util_sock.o lib/sock_exec.o lib/util_sec.o lib/substitute.o lib/fsusage.o

lib/ms_fnmatch.o lib/select.o lib/messages.o lib/tallocmsg.o lib/dmallocmsg.o

libsmb/smb_signing.o lib/md5.o lib/hmacmd5.o lib/arc4.o lib/iconv.o

nsswitch/wb_client.o nsswitch/wb_common.o lib/pam_errors.o intl/lang_tdb.o

lib/adt_tree.o lib/gencache.o tdb/common/tdb.o tdb/common/dump.o

tdb/common/error.o tdb/common/freelist.o tdb/common/freelistcheck.o

tdb/common/io.o tdb/common/lock.o tdb/common/open.o tdb/common/transaction.o

tdb/common/traverse.o lib/util_tdb.o tdb/common/tdbback.o lib/module.o

lib/events.o lib/ldap_escape.o  modules/CP850.o modules/CP437.o lib/secdesc.o

lib/util_seaccess.o lib/secace.o lib/secacl.o libads/krb5_errs.o

lib/system_smbd.o lib/audit.o lib/dummysmbd.o lib/dummyroot.o passdb/secrets.o

passdb/machine_sid.o lib/popt_common.o -Wl,-elf2flt -mcpu=bf537-0.2

-Wl,--export-dynamic -lcrypt -lresolv popt/findme.o popt/popt.o

popt/poptconfig.o popt/popthelp.o popt/poptparse.o  ^M

Linking bin/swat^M

lib/system.o: In function `sys_fork':^M

../lib/system.c:1325: undefined reference to `_fork'^M

lib/sock_exec.o: In function `sock_exec':^M

../lib/sock_exec.c:105: undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[5]: *** [bin/nmbd] Error 1^M

make[5]: *** Waiting for unfinished jobs....^M

modules/vfs_default.o: In function `vfswrap_ntimes':^M

../modules/vfs_default.c:631: warning: the use of LEGACY `utimes' is

discouraged, use `utime'^M

lib/system.o: In function `sys_fork':^M

../lib/system.c:1325: undefined reference to `_fork'^M

lib/sock_exec.o: In function `sock_exec':^M

../lib/sock_exec.c:105: undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[5]: *** [bin/smbd] Error 1^M

web/startstop.o: In function `start_winbindd':^M

../web/startstop.c:73: undefined reference to `_fork'^M

web/startstop.o: In function `start_nmbd':^M

../web/startstop.c:53: undefined reference to `_fork'^M

web/startstop.o: In function `start_smbd':^M

../web/startstop.c:33: undefined reference to `_fork'^M

lib/system.o: In function `sys_fork':^M

../lib/system.c:1325: undefined reference to `_fork'^M

lib/sock_exec.o: In function `sock_exec':^M

../lib/sock_exec.c:105: undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[5]: *** [bin/swat] Error 1^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/samba/samba-3.0.25a/source/build'^M

--

--- Vivi Li                                                  2009-11-08 21:28:14

App oggplay fails.

--

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf537-0.2 -Wall

-DPACKAGE=\"libvorbisidec\" -DVERSION=\"1.0.2\"

-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -D_REENTRANT -DUSE_MEMORY_H

-fsigned-char -I. -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -ITremor  -c -o

ivorbisfile_example.o ivorbisfile_example.c^M

ivorbisfile_example.c: In function ‘mainâ€Tm:^M

ivorbisfile_example.c:72: warning: implicit declaration of function

‘ioctlâ€Tm^M

bfin-linux-uclibc-gcc     -mcpu=bf537-0.2 -o ivorbisfile_example

ivorbisfile_example.o libvorbisidec.a ^M

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/oggplay/Tremor'^M

bfin-linux-uclibc-gcc     -mcpu=bf537-0.2  oggplay.o Tremor/libvorbisidec.a 

-o oggplay^M

oggplay.o: In function `play_one':^M

/home/test/work/cruise/checkouts/uclinux-dist/user/oggplay/oggplay.c:672:

undefined reference to `_fork'^M

oggplay.o: In function `main':^M

/home/test/work/cruise/checkouts/uclinux-dist/user/oggplay/oggplay.c:896:

undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[3]: *** [oggplay] Error 1^M

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/oggplay'

--

--- Vivi Li                                                  2009-11-08 23:18:49

App linphone fails.

--

/bin/sh ../libtool --tag=CC --mode=link bfin-linux-uclibc-gcc  -DIN_LINPHONE

-DENABLE_TRACE -D_ORTP_SOURCE   -DOSIP_MT

-I/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include   -pipe

-Wall -g -O2      -mcpu=bf537-0.2 -fno-strict-aliasing -ffast-math -mfast-fp

-Wl,--defsym,__stacksize=0x40000  -mcpu=bf537-0.2 -o linphonec  linphonec.o

commands.o ../coreapi/liblinphone.la -lreadline -lncurses

../mediastreamer2/src/libmediastreamer.la ../oRTP/src/libortp.la

-L/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib -lspeex -lm 

-L/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib -losipparser2

-losip2   ^M

shell.o: In function `spawn_linphonec':^M

/home/test/work/cruise/checkouts/uclinux-dist/user/linphone/linphone-3.1.2/console/shell.c:174:

undefined reference to `_fork'^M

collect2: ld returned 1 exit status^M

make[5]: *** [linphonecsh] Error 1^M

make[5]: *** Waiting for unfinished jobs....^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/linphone/build-linphone-3.1.2/console'^M

make[4]: *** [install-recursive] Error 1^M

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/linphone/build-linphone-3.1.2'^M

--

--- Graf Yang                                                2009-11-09 03:55:49

The newly reported compile issues of linphone, oggplay, samba are fixed.

--- Vivi Li                                                  2009-11-15 22:52:00

Build btsco fail:

--

bfin-linux-uclibc-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2

-I/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

-mcpu=bf537-0.2 -o headsetd headsetd.o daemon.o states.o sdp.o volctl.o dbus.o

-L/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/btsco/build-btsco-0.5/sbc/

-L/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib

/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libasound.so -lrt

-lm -ldl -lpthread

/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libbluetooth.so

-Wl,--rpath -Wl,/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib

-Wl,--rpath -Wl,/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib

headsetd.o: In function `main':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/btsco/btsco-0.5/alsa-plugins/headsetd/headsetd.c:58:

undefined reference to `_fork'^M

collect2: ld returned 1 exit status

make[7]: *** [headsetd] Error 1

make[7]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/btsco/build-btsco-0.5/alsa-plugins/headsetd'

--

--- Graf Yang                                                2010-01-08 05:22:58

The btsco fork issue is fixed on trunk.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

Sign Up
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.