Probleme with nomain.o

  • From: "Zoto" < >
  • To:
  • Subject: Probleme with nomain.o
  • Date: Fri, 22 Feb 2013 05:02:24 -0500

Hi,

I'm developping a software in C language.

I have to create bash file in script shell to launch the test without 
netbeans.  For that, I recovered the commands in the console of netBeans. 

Here is my problem: 

Everything is fine if I launch the script AFTER a netbeans test (test debug) 
launching, all file.o, file.o.d and file_nomain.o are created.

But if I dont use Netbeans before,  file_nomain.o aren't created and the 
fXX.exe file could'nt be created.

Maybe i need a command to create those files ? but i can't find them if it 
exist.

Here is a part of my script commands:

mkdir build\Debug\MinGW-Windows\_ext\2001422169
rm -f build\Debug\MinGW-Windows\_ext\2001422169\A615.o.d
gcc.exe -lpthread -lws2_32  -c -g -I..\src\libBsp\api -I..\src\libBsp\inc 
-I..\src\libTftp\api -I..\src\libTftp\inc -I..\src\libLog\api 
-I..\src\libLog\inc -I..\src\libConfiguration\api 
-I..\src\libConfiguration\inc -I..\src\libA615\inc -ICunit\inc -MMD -MP -MF 
build\Debug\MinGW-Windows\_ext\2001422169\A615.o.d -o 
build\Debug\MinGW-Windows\_ext\2001422169\A615.o ..\src\libA615\src\A615.c

etc until all my file.c ... and then:


mkdir build\Debug\MinGW-Windows\tests\TestFiles 
mkdir build\Debug\MinGW-Windows\tests\_ext\1611868981
rm -f 
build\Debug\MinGW-Windows\tests\_ext\1611868981\Test_libConf_readFile_01_nominal.o.d
gcc.exe -lpthread -c -g -I../src/libConfiguration/api -I../src/libBsp/api 
-I../src/libBsp/inc -I../src/libConfiguration/inc -ICunit/unix/include -MMD 
-MP -MF 
build/Debug/MinGW-Windows/tests/_ext/1611868981/Test_libConf_readFile_01_nominal.o.d
 -o 
build/Debug/MinGW-Windows/tests/_ext/1611868981/Test_libConf_readFile_01_nominal.o
 ../tests/libConf/libConf_readFile/Test_libConf_readFile_01_nominal.c


etc...and then, this following commands couldn't work until i create all the 
file_nomain.o. SO my file fxx.exe (f1 here) isn't created  


mkdir  build\Debug\MinGW-Windows\tests\TestFiles
gcc.exe -lpthread -o build/Debug/MinGW-Windows/tests/TestFiles/f1 
build/Debug/MinGW-Windows/tests/_ext/1611868981/Test_libConf_readFile_01_nominal.o
 build/Debug/MinGW-Windows/_ext/2001422169/A615_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_thread_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_time_nomain.o 
build/Debug/MinGW-Windows/_ext/1916742546/libTftpAPI_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_IO_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_stdio_nomain.o 
build/Debug/MinGW-Windows/_ext/1653275762/libLog_nomain.o 
build/Debug/MinGW-Windows/_ext/892191232/libConf_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_string_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_memory_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_sharedMem_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_socket_nomain.o 
build/Debug/MinGW-Windows/_ext/1916742546/libTftp_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_error_nom!
 ain.o build/Debug/MinGW-Windows/_ext/1360937237/main_nomain.o 
build/Debug/MinGW-Windows/_ext/1815549687/Bsp_mutex_nomain.o -lpthread 
-lwsock32 -lcunit -lcunit 






Probleme with nomain.o

Zoto 02/22/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close