Newbie: Build errors on MOD54415 Factory App

Discussion to talk about software related topics only.
Post Reply
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Newbie: Build errors on MOD54415 Factory App

Post by greengene »

Hi,
I'm getting all kinds of errors on linking. I'm just trying to build the factory app.
I just installed 2.6.7 today.

The link is complaining about files in -some directory c:\jenkins-slave\workspace\...

Description Resource Path Location Type
more undefined references to `sim2' follow MOD54415FactoryApp line 918, external location: C:\nburn\lib\MOD5441X.a(ethernet.o):c:\jenkins-slave\workspace\012.Build.Libraries\config\all\installPlatform\MOD5441X\nburn-install\MOD5441X\system\ethernet.cpp C/C++ Problem

Any ideas?
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Newbie: Build errors on MOD54415 Factory App

Post by dciliske »

Um... WAT? Try doing a full system rebuild then a make clean... Something is really screwy there... Basically, it's getting the platform set correctly (hence the 'MOD5441X' in the path of the undefined reference), but somehow not getting the linker right(?) hence the 'undefined sim2'.

I'm really at a loss for what's going on here...

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
User avatar
Forrest
Posts: 286
Joined: Wed Apr 23, 2008 10:05 am

Re: Newbie: Build errors on MOD54415 Factory App

Post by Forrest »

dciliske wrote:Um... WAT? Try doing a full system rebuild then a make clean... Something is really screwy there... Basically, it's getting the platform set correctly (hence the 'MOD5441X' in the path of the undefined reference), but somehow not getting the linker right(?) hence the 'undefined sim2'.

I'm really at a loss for what's going on here...

-Dan

I agree with dan, do a full rebuild of the system and platform/system. From within NBEclipse... NBEclipse->Rebuild All system files. Then, Project->Clean.

The pathing you see is just leftovers from a build/test system. Path's from the build appear in prebuilt libraries. It does not affect the library in any way.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
jaypdx
Posts: 29
Joined: Wed Oct 15, 2014 6:06 pm

Re: Newbie: Build errors on MOD54415 Factory App

Post by jaypdx »

Having the same problem. Just got a new MOD54415 eval kit and installed 2.6.8 IDE today. Starting with new project (DHCP + WebServer app wizard options selected). I get all the 'c:\jekins-slave\workspace' errors when I do a Build All, and when I try Rebuild System Files I get:

'Clean and Rebuild System Files' has encountered a problem.
Libary Build Error. See build console for details

In the console I see:
[clean] Error 1 (ignored)
[clean] Error 1 (ignored)
rm -f ./ucosmcfa.od ./software_init.od ./ucosmcfc.od ./ucos.od ./ucosflags.od ./debugtrap.od ./ucosmain.od ./fileio.od ./md5c.od ./system.od ./userparam.od ./librarystubs.od ./aes.od ./itoa.od ./tzsetchar.od ./sha1.od ./main.od ./utils.od ./ip.od ./buffers.od ./arp.od ./dns.od ./udp.od ./udpsocket.od ./tftp.od ./ftp.od ./ftpd.od ./filepost.od ./StreamUpdate.od ./tcp.od ./extraio.od ./httppass.od ./http.od ./httpinternal.od ./htmldecomp.od ./htmlwritefile.od ./htmlvarplaceholder.od ./iosys.od ./multicast.od ./mailto.od ./new_ops.od ./ppp.od ./ahdlc.od ./command.od ./autoip.od ./dhcpc.od ./dhcpd.od ./dhcpd_prefix.od ./dhcpd_standard.od ./pop3.od ./random.od ./tcpupdate.od ./defappname.od ./netrx.od ./nbtime.od ./ntpclient.od ./vjhc.od ./wifisetup.od ./netinterface.od ./multiconfig.od ./taskmon.od ./smarttrap.od ./autoupdate.od ./device.od ./base64.od ./syslog.od ./qspiShared.od ./sdShared.od ./netbios.od ./SendUdpFragment.od ./convert.od ./sdio.od ./sdioBus.od ./sdioBusSpiMode.od ./netDevice.od ./atcommand.od ./wifi.od ./release_tag.od ./release_tagdata.od ./IrqStdio.od ./init.od ./initWithWeb.od ./nbfloatprint.od ./nbiprintf.od ./nbprintf.od ./nbsiprintf.od ./nbsprintf.od ./fdiprintf.od ./fdprintf.od ./websocket_server.od
[clean] Error 1 (ignored)
rm -f C:\nburn/lib/DBNetBurner.a
[clean] Error 1 (ignored)
[clean] Error 1 (ignored)
make:
jaypdx
Posts: 29
Joined: Wed Oct 15, 2014 6:06 pm

Re: Newbie: Build errors on MOD54415 Factory App

Post by jaypdx »

Just went back to 2.6.7. Still having problems. When I try to Rebuild System Files I get:

Libary Build Error. See build console for details

Console:
m68k-elf-gcc -m5200 -MM ucosmcfc.c ucos.c ucosflags.c debugtrap.c ucosmain.c fileio.c md5c.c system.c userparam.c librarystubs.c aes.c itoa.c tzsetchar.c main.c -I"C:\nburn/include" -I"C:\nburn/MOD5441X/include" -DMOD5441X -DMCF5441X >>NetBurnerdepend.mk
rm -f C:\nburn/lib/NetBurner.a
rm -f NetBurnerdepend.mk
make: make: make: make: make:
make:


Also, when I click Run I get:
'Launching' has encoutered a problem
An internal error occurred during: "Launching ".
java.lang.NullPointerException


This is Win7-64. My Java info is:

java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_71-b14


Any ideas?
User avatar
mx270a
Posts: 80
Joined: Tue Jan 19, 2010 6:55 pm

Re: Newbie: Build errors on MOD54415 Factory App

Post by mx270a »

'Clean and Rebuild System Files' has encountered a problem.
Libary Build Error. See build console for details
I got this same error today. Like you, I'm running Windows 7 x64.

Rebooted windows and everything is working fine again. :roll:
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Newbie: Build errors on MOD54415 Factory App

Post by dciliske »

Ok, from the collection of responses here, it sounds like a it might be a pathing problem occurring.

Jay and Greenegene, have you guys got it to work or not?

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Post Reply