Home > Aix Error > Aix Error No Csects Or Exported Symbols Have Been Saved

Aix Error No Csects Or Exported Symbols Have Been Saved

My UNIX knowledge is very rudimentary In UNIX, that's usually something like : find / -name "makeC++SharedLib" 2> /dev/null >> So I doubt that using makeC++SharedLib will have a Show 10 replies 1. Archive member ./src/libs/zbxsysinfo/libzbxsysinfo.a[libzbxcommon.a] is being ignored. Error message continuous error messages 4.

Why a make should do better than a direct call to the linker? I just compiled the agent on 5.3 using XLC. libHandle = dlopen(pCtrlNEDetail->DLL_PATH, RTLD_LAZY); libFuncConnect funcConnect= (libFuncConnect)dlsym(libHandle, "Connect"); dlclose(libHandle); 0 LVL 39 Overall: Level 39 C++ 35 Unix OS 2 Message Author Comment by:itsmeandnobodyelse2007-06-12 >>>> there is no main Restart the server. http://www.justskins.com/forums/creating-a-shared-library-199762.html

clund View Public Profile Find all posts by clund Page 1 of 4 1 23 > Last » « Previous Thread | Next Thread » Thread Tools Show Printable Version Display Any info would be most appreciated. There is a problem with Solomon: eval /usr/vac/bin/xlc -I/home/liao1k/ccp4/martyn/ccp4-5.0.2/src/solomon_ -I/home/liao1k/ccp4/martyn/ccp4-5.0.2/lib/src ${solomon_FLAGS-"-O "} -c -o cmsk_io.o /home/liao1k/ccp4/martyn/ccp4-5.0.2/src/solomon_/`basename cmsk_io.o .o`.c "/home/liao1k/ccp4/martyn/ccp4-5.0.2/src/solomon_/cmsk_io.c", line 941.7: 1506-343 (S) Redeclaration of strncasecmp differs from previous declaration on I used -c option (compile only) to compile all cpp and -qrtti for ipssession.cpp cause it was using a dynamic_cast. 0 LVL 39 Overall: Level 39 C++ 35 Unix OS

Want to Advertise Here? Error message: ERROR: No csects or exported symbols have been saved. I also read through all of the issues with AIX 4.3 and the "not a COFF file" errors. The flag in question would be -bernotok.

I have decided to standardise on no underscore. Add "-lC -lm" to XLDFLAGS in configure On the test system at least, there is a /lib/libessl.a which has BLAS symbols. The first thing you should remove is the -Wl,-soname... gcc -static -g -O2 -o zabbix_agent zabbix_agent.o .....

Copy the resulting .so file to /usr/HTTPServer/libexec. Btw, I just saw that the second link should have been : http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.vacpp7a.doc/proguide/ref/compile_library.htm#compile_library which uses the xlc compiler to generate the shared library (instead of ld). 0 LVL 39 Overall: Solution is to move the .PHONY target in $CCP4/lib/data/Makefile.in to below the first real target. Bug8899 - -error_unresolved doesn't work for AIX Summary: -error_unresolved doesn't work for AIX Status: RESOLVED INVALID Product: Samba 3.6 Classification: Unclassified Component: Build environment Version: 3.6.4 Hardware: PPC AIX Importance: P5

Can you attach the config.log from that machine? (Also adding such a AIX machine to the build farm would be very welcome, this help fixing things like this and keep up https://www-01.ibm.com/software/webservers/httpservers/doc/v1319/9atbdaix.htm Join our community for more solutions or to ask questions. Any ideas how to get rid of the warnings regarding multiple STL template functions in different cpp files? 0 LVL 53 Overall: Level 53 C++ 36 Unix OS 6 Message Get 1:1 Help Now Advertise Here Enjoyed your answer?

Do I have to add a '_' prefix to any name? So I think we might even close this as a local problem. ld: 0711-327 WARNING: Entry point not found: __start ld: 0711-244 ERROR: No csects or exported symbols have been saved. Use the compiler driver instead.

Commented out the #define statement. The -bnoentry worked. I get the following error first: gcc -g -O2 -o zabbix_agent zabbix_agent.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxsysinfo/aix/libzbxsysinfo2.a ../libs/zbxlog/libzbxlog.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxnet/libzbxnet.a ../libs/zbxconf/libzbxconf.a ../libs/zbxcommon/libzbxcommon.a -lnsl collect2: ../libs/zbxsysinfo/libzbxsysinfo.a: not a COFF file Then, if I run the I created an export file by xlC -qmkshrobj -qexpfile=ippcr.exp ippcr.o what gives some undefined externals cause the object contains the interface functions only *but* creates a valid .exp.

Regards, Alex 0 LVL 53 Overall: Level 53 C++ 36 Unix OS 6 Message Expert Comment by:Infinity082007-06-12 I haven't got any experience with AIX, but a quick Google search reveals If you don't have a license for XLC and only need it for this one thing then you can always download the free trial version ... stop to look in that direction sniff sniff I already used Zabbix on Linux, but I really loved use it on AIX 5.3 (p520) Any others suggestions pcamelio View Public Profile

Regards, Alex 0 LVL 53 Overall: Level 53 C++ 36 Unix OS 6 Message Expert Comment by:Infinity082007-06-12 As I said : I did not try this nor have I ever

Great for personal to-do lists, project milestones, team priorities and launch plans. - Combine task lists, docs, spreadsheets, and chat in one - View and edit from mobile/offline - Cut down For an example, switch to /usr/HTTPServer/example_module and run the make command. However, the latter supports extended mode so it can handle most of the C statements compared with xlc which can only handle the ANSI C statement. Shell scripting is a powerful method of accessing UNIX systems and it is very flexible.

Ok, you are getting a message "Entry point not found: __start" because by default the linker (which gets called by the compiler ) writes out whole programs, Go to Solution 19 For example, mod_example.exp Issue the make command. All Places > mod_cluster > Discussions Please enter a title. The time now is 06:09.

I actually want to use a makefile but I assumed I have to specify the linker options nevertheless, right? Copy your module.c file to the build directory. Anyway, it is already running on Debian box, and it is working fine for the network and Windows servers Bye. The time now is 04:08 AM.

Oracle Database MS SQL Server Unix OS Introduction to C++: Functions - The Return Statement Video by: Ian The viewer will learn how to use the return statement in functions in Is that the problem? I've tried to "ar -g" the files (which changes them from big archives to small archives), and it doesn't do anything different.